[FFmpeg-devel] [PATCH]Simplify camstudio decoding

Carl Eugen Hoyos cehoyos at ag.or.at
Sat Apr 28 16:54:15 CEST 2012


Reimar Döffinger <Reimar.Doeffinger <at> gmx.de> writes:

> > -  case 16:
> > -      copy_frame_16(&c->pic, c->decomp_buf, c->linelen, c->height);
> > -      break;

> > -  default:
> >        copy_frame_default(&c->pic, c->decomp_buf, FFALIGN(c->linelen, 4),
> >                                   c->linelen, c->height);
> 
> I believe that will cause it to overread the input buffer 
> for odd with 16 bpp input.

Yes, new patch sent.

Thank you, Carl Eugen



More information about the ffmpeg-devel mailing list