aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-09-23 13:20:42 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-09-23 13:20:42 +0200
commit621845feccd15cb035d55089aa16e07514fab89e (patch)
treee81277aefa8b0fc7fbc6e4d632b13cea9249a6be
parent341dc590535121ccb939ca145d87241de9e8e0c3 (diff)
parent91be1103fd1f79d381edf268c32f4166b6c3b6d8 (diff)
downloadffmpeg-621845feccd15cb035d55089aa16e07514fab89e.tar.gz
Merge commit '91be1103fd1f79d381edf268c32f4166b6c3b6d8'
* commit '91be1103fd1f79d381edf268c32f4166b6c3b6d8': wnv1: Make sure the input packet is large enough Conflicts: libavcodec/wnv1.c See: f23a2418fb0ccc56fdae4dbf83a5994cc917c475 Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavcodec/wnv1.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/wnv1.c b/libavcodec/wnv1.c
index 60f8a25a22..e7c92e803e 100644
--- a/libavcodec/wnv1.c
+++ b/libavcodec/wnv1.c
@@ -68,8 +68,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;
}