> > But maybe you can put the Store data code inside the planar part (it's > very > > similar) > > That means I have to remove the pixel_size context variable: > Do you want me to do that? > > No i don't think you need to remove it.
You can override for this case, the s->linesize inside the switch case (see my previous email) And i forget in my previous email : you need to add a check, if s->channel_count != 1 for bitmap. Martin _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel