[FFmpeg-cvslog] r13781 - trunk/libavcodec/g726.c
michael
subversion
Mon Jun 16 22:40:45 CEST 2008
Author: michael
Date: Mon Jun 16 22:40:44 2008
New Revision: 13781
Log:
Remove dead code.
Modified:
trunk/libavcodec/g726.c
Modified: trunk/libavcodec/g726.c
==============================================================================
--- trunk/libavcodec/g726.c (original)
+++ trunk/libavcodec/g726.c Mon Jun 16 22:40:44 2008
@@ -381,9 +381,6 @@ static int g726_decode_frame(AVCodecCont
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(AVCodecCont
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;
}
More information about the ffmpeg-cvslog
mailing list