diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2011-10-30 18:40:21 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2011-11-10 10:25:46 -0500 |
commit | e551a6f49a13f2e992c42bc00a8b45ad636e52ad (patch) | |
tree | 3a9f3a9398ffed177b0f6a21484a42a78c8a92ca /libavcodec/vorbisdec.c | |
parent | f666276fa61623f4d6fa97b99d6b336ec0eba8c3 (diff) | |
download | ffmpeg-e551a6f49a13f2e992c42bc00a8b45ad636e52ad.tar.gz |
vorbisdec: remove unneeded buf_size==0 check
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r-- | libavcodec/vorbisdec.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c index 8c6f91e70e..e79feb90c6 100644 --- a/libavcodec/vorbisdec.c +++ b/libavcodec/vorbisdec.c @@ -1622,9 +1622,6 @@ static int vorbis_decode_frame(AVCodecContext *avccontext, const float *channel_ptrs[255]; int i, len, out_size; - if (!buf_size) - return 0; - av_dlog(NULL, "packet length %d \n", buf_size); init_get_bits(gb, buf, buf_size*8); |