Commit 3bf3d666 authored by Loïc Le Loarer's avatar Loïc Le Loarer Committed by Michael Niedermayer
Browse files

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
parent ced225a7
......@@ -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 )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment