Commit a0fd6154 authored by michael's avatar michael

Remove dead code.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13781 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent ab9959e3
...@@ -381,9 +381,6 @@ static int g726_decode_frame(AVCodecContext *avctx, ...@@ -381,9 +381,6 @@ static int g726_decode_frame(AVCodecContext *avctx,
uint8_t mask; uint8_t mask;
GetBitContext gb; GetBitContext gb;
if (!buf_size)
goto out;
mask = (1<<c->code_size) - 1; mask = (1<<c->code_size) - 1;
init_get_bits(&gb, buf, buf_size * 8); init_get_bits(&gb, buf, buf_size * 8);
if (c->bits_left) { if (c->bits_left) {
...@@ -398,7 +395,6 @@ static int g726_decode_frame(AVCodecContext *avctx, ...@@ -398,7 +395,6 @@ static int g726_decode_frame(AVCodecContext *avctx,
c->bits_left = buf_size*8 - get_bits_count(&gb); c->bits_left = buf_size*8 - get_bits_count(&gb);
c->bit_buffer = get_bits(&gb, c->bits_left); c->bit_buffer = get_bits(&gb, c->bits_left);
out:
*data_size = (uint8_t*)samples - (uint8_t*)data; *data_size = (uint8_t*)samples - (uint8_t*)data;
return buf_size; return buf_size;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment