diff options
author | Loïc Le Loarer <lll+ffmpeg@m4x.org> | 2005-03-27 00:27:37 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-03-27 00:27:37 +0000 |
commit | 3bf3d666a77eaaa6ca9f3d344f585ae9e39f2882 (patch) | |
tree | c2462fbc57660e73fcb99c3f2d62c2a4bc6e7759 | |
parent | ced225a762119bf1ed6fbb655a06942e1790a69f (diff) | |
download | ffmpeg-3bf3d666a77eaaa6ca9f3d344f585ae9e39f2882.tar.gz |
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
-rw-r--r-- | libavcodec/h264.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 7bf419f999..61ed7c5564 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -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 ) |