diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-10-08 01:26:51 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-10-08 01:26:51 +0200 |
commit | 5da68aff96ff77b0f82d80f250e23c2f3696938b (patch) | |
tree | ecfac073c9755d584a4d5582dccbdd2ecba3d81d /libavcodec/wnv1.c | |
parent | 55aedd679a24055e861c3debe0397b2cd05ef1be (diff) | |
parent | 04d2f9ace3fb6e880f3488770fc5a39de5b63cbb (diff) | |
download | ffmpeg-5da68aff96ff77b0f82d80f250e23c2f3696938b.tar.gz |
Merge commit '04d2f9ace3fb6e880f3488770fc5a39de5b63cbb' into release/1.1
* commit '04d2f9ace3fb6e880f3488770fc5a39de5b63cbb':
mvi: Add sanity checking for the audio frame size
alac: Do bounds checking of lpc_order read from the bitstream
xwma: Avoid division by zero
avidec: Make sure a packet is large enough before reading its data
vqf: Make sure the bitrate is in the valid range
vqf: Make sure sample_rate is set to a valid value
electronicarts: Check packet sizes before reading
lavf: Avoid setting avg_frame_rate if delta_dts is negative
vc1dec: Undo mpegvideo initialization if unable to allocate tables
vc1dec: Fix leaks in ff_vc1_decode_init_alloc_tables on errors
wnv1: Make sure the input packet is large enough
dcadec: Validate the lfe parameter
Conflicts:
libavcodec/dcadec.c
libavcodec/wnv1.c
libavformat/avidec.c
libavformat/electronicarts.c
libavformat/utils.c
libavformat/xwma.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/wnv1.c')
-rw-r--r-- | libavcodec/wnv1.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c index c59ceb7f1d..1f4ca1af85 100644 --- a/libavcodec/wnv1.c +++ b/libavcodec/wnv1.c @@ -71,8 +71,8 @@ static int decode_frame(AVCodecContext *avctx, int prev_y = 0, prev_u = 0, prev_v = 0; uint8_t *rbuf; - if(buf_size<=8) { - av_log(avctx, AV_LOG_ERROR, "buf_size %d is too small\n", buf_size); + if (buf_size <= 8) { + av_log(avctx, AV_LOG_ERROR, "Packet size %d is too small\n", buf_size); return AVERROR_INVALIDDATA; } |