[Ffmpeg-devel] Possible bug in bmp decoder

Michel Bardiaux mbardiaux
Mon Jan 29 13:58:50 CET 2007


...
     switch(depth){
     case 24:
         for(i = 0; i < avctx->height; i++){
             memcpy(ptr, buf, n);
             buf += n;
             ptr += linesize;
         }
         break;
...

Should it not be memcpy(ptr, buf, linesize) ?

Greetings,
-- 
"As far as I can see all I see is C"

Michel Bardiaux
R&D Director
T +32 [0] 2 790 29 41
F +32 [0] 2 790 29 02
E mailto:mbardiaux at mediaxim.be

Mediaxim NV/SA
Vorstlaan 191 Boulevard du Souverain
Brussel 1160 Bruxelles
http://www.mediaxim.com/




More information about the ffmpeg-devel mailing list