You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
vorbisdec: remove unneeded buf_size==0 check
This commit is contained in:
@@ -1622,9 +1622,6 @@ static int vorbis_decode_frame(AVCodecContext *avccontext,
|
|||||||
const float *channel_ptrs[255];
|
const float *channel_ptrs[255];
|
||||||
int i, len, out_size;
|
int i, len, out_size;
|
||||||
|
|
||||||
if (!buf_size)
|
|
||||||
return 0;
|
|
||||||
|
|
||||||
av_dlog(NULL, "packet length %d \n", buf_size);
|
av_dlog(NULL, "packet length %d \n", buf_size);
|
||||||
|
|
||||||
init_get_bits(gb, buf, buf_size*8);
|
init_get_bits(gb, buf, buf_size*8);
|
||||||
|
Reference in New Issue
Block a user