summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdec.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-10-30 18:40:21 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-11-10 10:25:46 -0500
commite551a6f49a13f2e992c42bc00a8b45ad636e52ad (patch)
tree3a9f3a9398ffed177b0f6a21484a42a78c8a92ca /libavcodec/vorbisdec.c
parentf666276fa61623f4d6fa97b99d6b336ec0eba8c3 (diff)
vorbisdec: remove unneeded buf_size==0 check
Diffstat (limited to 'libavcodec/vorbisdec.c')
-rw-r--r--libavcodec/vorbisdec.c3
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);