diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2011-09-19 22:45:34 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-09-19 22:45:34 +0200 |
commit | a6186f3a0006d43950aaa5416b7e71c4b82f49f5 (patch) | |
tree | 50c53a13881219b14ed2e3855a49c34539645ed3 /libavcodec/rv10.c | |
parent | 16c5d3b0d0a0070c9c2bae906039e3a412520eef (diff) | |
parent | c92a2a4eb8b883e82871c2415f757153d263b6b3 (diff) | |
download | ffmpeg-a6186f3a0006d43950aaa5416b7e71c4b82f49f5.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
movenc: fix NULL reference in mov_write_tkhd_tag
rmdec: Reject invalid deinterleaving parameters
rv34: Fix potential overreads
rv34: Fix buffer size used for MC of B frames after a resolution change
rv34: Avoid NULL dereference on corrupted bitstream
rv10: Reject slices that does not have the same type as the first one
vf_yadif: add an option to enable/disable deinterlacing based on src frame "interlaced" flag
vsrc_color: set output pos values to -1
vsrc_color: add @file doxy
vsrc_buffer: remove duplicated file description
eval: implement not() expression
eval: add sqrt function for computing the square root
rmdec: use the deinterleaving mode and not the codec when creating audio packets.
lavf: Fix context pointer in av_open_input_stream when avformat_open_input fails
Conflicts:
doc/eval.texi
doc/filters.texi
libavcodec/rv10.c
libavfilter/vsrc_color.c
libavformat/rmdec.c
libavutil/avutil.h
libavutil/eval.c
tests/ref/fate/eval
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/rv10.c')
-rw-r--r-- | libavcodec/rv10.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavcodec/rv10.c b/libavcodec/rv10.c index 18a79afbee..20e2829e32 100644 --- a/libavcodec/rv10.c +++ b/libavcodec/rv10.c @@ -548,8 +548,10 @@ static int rv10_decode_packet(AVCodecContext *avctx, return -1; ff_er_frame_start(s); } else { - if (s->current_picture_ptr->f.pict_type != s->pict_type) + if (s->current_picture_ptr->f.pict_type != s->pict_type) { + av_log(s->avctx, AV_LOG_ERROR, "Slice type mismatch\n"); return -1; + } } |