summaryrefslogtreecommitdiff
path: root/libavcodec/vorbisdec.c
diff options
context:
space:
mode:
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);