1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

The cvs version 1.103 of h264.c brokes 13 conformance streams, this

patch corrects this and decodes the same streams as version 1.102.
patch by (Loïc Le Loarer <lll+ffmpeg m4x org>)

Originally committed as revision 4087 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Loïc Le Loarer 2005-03-27 00:27:37 +00:00 committed by Michael Niedermayer
parent ced225a762
commit 3bf3d666a7

View File

@ -3762,7 +3762,7 @@ static int decode_slice_header(H264Context *h){
else
h->use_weight = 0;
if(s->current_picture.reference == 3)
if(s->current_picture.reference)
decode_ref_pic_marking(h);
if( h->slice_type != I_TYPE && h->slice_type != SI_TYPE && h->pps.cabac )