diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2008-06-16 20:40:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2008-06-16 20:40:44 +0000 |
commit | f6ec220cb50fcbbd6082be10c227c34370cd9533 (patch) | |
tree | 59c9003fba5e038028621d53a089bafcd826201e | |
parent | 25cd5cb33ce97f9863d842ec8ecebd60a6043d82 (diff) | |
download | ffmpeg-f6ec220cb50fcbbd6082be10c227c34370cd9533.tar.gz |
Remove dead code.
Originally committed as revision 13781 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/g726.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/libavcodec/g726.c b/libavcodec/g726.c index cb55a524dc..35be557f0c 100644 --- a/libavcodec/g726.c +++ b/libavcodec/g726.c @@ -381,9 +381,6 @@ static int g726_decode_frame(AVCodecContext *avctx, uint8_t mask; GetBitContext gb; - if (!buf_size) - goto out; - mask = (1<<c->code_size) - 1; init_get_bits(&gb, buf, buf_size * 8); if (c->bits_left) { @@ -398,7 +395,6 @@ static int g726_decode_frame(AVCodecContext *avctx, c->bits_left = buf_size*8 - get_bits_count(&gb); c->bit_buffer = get_bits(&gb, c->bits_left); -out: *data_size = (uint8_t*)samples - (uint8_t*)data; return buf_size; } |