Ignore:
Timestamp:
04/22/11 21:31:53 (2 years ago)
Author:
cristy
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • ImageMagick/trunk/coders/yuv.c

    r3558 r4289  
    252252              } 
    253253            if (quantum == 1) 
    254               q->red=ScaleCharToQuantum(*p++); 
     254              SetRedPixelComponent(q,ScaleCharToQuantum(*p++)); 
    255255            else 
    256256              { 
     
    271271              } 
    272272            if (quantum == 1) 
    273               q->red=ScaleCharToQuantum(*p++); 
     273              SetRedPixelComponent(q,ScaleCharToQuantum(*p++)); 
    274274            else 
    275275              { 
     
    292292          { 
    293293            if (quantum == 1) 
    294               q->red=ScaleCharToQuantum(*p++); 
     294              SetRedPixelComponent(q,ScaleCharToQuantum(*p++)); 
    295295            else 
    296296              { 
     
    341341            q->red=(Quantum) 0; 
    342342            if (quantum == 1) 
    343               q->green=ScaleCharToQuantum(*p++); 
     343              SetGreenPixelComponent(q,ScaleCharToQuantum(*p++)); 
    344344            else 
    345345              { 
     
    375375        { 
    376376          if (quantum == 1) 
    377             q->blue=ScaleCharToQuantum(*p++); 
     377            SetBluePixelComponent(q,ScaleCharToQuantum(*p++)); 
    378378          else 
    379379            { 
Note: See TracChangeset for help on using the changeset viewer.