[Ffmpeg-devel] [PATCH] VC1 init fail and crash

Kostya kostya.shishkov
Thu Jun 29 13:25:28 CEST 2006

On Tue, Jun 27, 2006 at 06:34:37PM +0200, Reimar D?ffinger wrote:
> Hi,
> attached patches fix two minor problems:
> 1) vc1 (not wmv3) decoder init fails due to a missing case in h263dec
> 2) decoder crashes since EMU_EDGE is set for the AVCodecContext but not
> for MpegEncContext. Feel free to move this initialization someplace
> else...

Applied (I suspect flag EMU_EDGE does not change anything though).
> Greetings,
> Reimar D?ffinger
> P.S. I did test with the HDTV Alexander trailer, I frames decode fine,
> everything else is as expected a mess.

To my big surprise P-frames were not properly decoded on x86 (somebody who
wrote GET_MVDATA macro overlooked case when get_bits will try to read 0 or
even -1 bits and on G4 it was ignored).
Now it should decode in less messy mess ;)

More information about the ffmpeg-devel mailing list