diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2005-06-09 20:01:02 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2005-06-09 20:01:02 +0000 |
commit | 7dc1bea30ff4b9c0970345c9c82155dc43682c6e (patch) | |
tree | 7f7d84c45ca01e2ed38622a86c6aab6d5a663b3b /libavcodec/h264.c | |
parent | 41061adf495ad435d08454d7e9534a4ee462aecb (diff) | |
download | ffmpeg-7dc1bea30ff4b9c0970345c9c82155dc43682c6e.tar.gz |
non-avc h264 stream problems patch by ("Ronald S. Bultje" rbultje, ronald bitfreak net)
Originally committed as revision 4368 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/h264.c')
-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 c0540fcc25..977ce5f297 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -7343,7 +7343,7 @@ static int decode_frame(AVCodecContext *avctx, } if(!h->is_avc && s->avctx->extradata_size && s->picture_number==0){ - if(0 < decode_nal_units(h, s->avctx->extradata, s->avctx->extradata_size) ) + if(decode_nal_units(h, s->avctx->extradata, s->avctx->extradata_size) < 0) return -1; } |