[FFmpeg-cvslog] vorbisdec: remove unneeded buf_size==0 check
Justin Ruggles
git at videolan.org
Fri Nov 11 02:53:06 CET 2011
ffmpeg | branch: master | Justin Ruggles <justin.ruggles at gmail.com> | Sun Oct 30 18:40:21 2011 -0400| [e551a6f49a13f2e992c42bc00a8b45ad636e52ad] | committer: Justin Ruggles
vorbisdec: remove unneeded buf_size==0 check
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e551a6f49a13f2e992c42bc00a8b45ad636e52ad
---
libavcodec/vorbisdec.c | 3 ---
1 files changed, 0 insertions(+), 3 deletions(-)
diff --git a/libavcodec/vorbisdec.c b/libavcodec/vorbisdec.c
index 8c6f91e..e79feb9 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);
More information about the ffmpeg-cvslog
mailing list