[FFmpeg-devel] [PATCH] MpegEncContext must be initialized before calling ff_h263_decode_init

Kostya kostya.shishkov
Sat Jun 27 11:52:48 CEST 2009

On Sat, Jun 27, 2009 at 11:19:48AM +0200, Reimar D?ffinger wrote:
> Hello,
> ff_h263_decode_init calls MPV_common_init which then need mb_width to
> calculate mb_stride.
> So my conclusion is, MpegEncContext needs to be initialized before
> calling this function.
> This is probably what issue1233 is about.
Hmm, I don't like it.
Those values were initialized after decoder has read WMV3/VC-1 sequence
header and set correct values which may differ from previous ones.

More information about the ffmpeg-devel mailing list