[FFmpeg-devel] [PATCH 3/3] libxvid: encode a dummy frame to get the extradata.
Nicolas George
nicolas.george at normalesup.org
Sun Apr 8 10:41:48 CEST 2012
Le decadi 20 germinal, an CCXX, Michael Niedermayer a écrit :
> thats too small when w or h is odd
> dunno if that gets rejected elsewhere
It is rejected by the XviD init function, but just to be sure, in case it
changes sometime later for example, I changed it into:
size = ((avctx->width + 1) & ~1) * ((avctx->height + 1) & ~1);
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20120408/8cbe8378/attachment.asc>
More information about the ffmpeg-devel
mailing list