Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2005-01-23 21:09:06 +0300
committerMichael Niedermayer <michaelni@gmx.at>2005-01-23 21:09:06 +0300
commit934982c4ace1a3d5d627b518782ed092a456c49e (patch)
tree2710f7ff4b0238136300d02da7baf234ed48cc01 /libavcodec/ffv1.c
parent884182b383ed8b70a67634dc7f91395c402b58d7 (diff)
avoid buf_size == 0 checks in every decoder
Originally committed as revision 3872 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/ffv1.c')
-rw-r--r--libavcodec/ffv1.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index cc15d902b2..737e3f4114 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -952,10 +952,6 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, uint8
AVFrame *picture = data;
- /* no supplementary picture */
- if (buf_size == 0)
- return 0;
-
ff_init_range_decoder(c, buf, buf_size);
ff_build_rac_states(c, 0.05*(1LL<<32), 256-8);