diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2004-05-21 14:37:16 +0000 |
commit | 53db1cae1c2d555d207563e0197809faf23b3dcc (patch) | |
tree | 1d4141bca722343f1a1d3fb004f52a5269865787 /libavcodec/amr.c | |
parent | 5da42be1921604a97e6180f242c78c484a179314 (diff) | |
download | ffmpeg-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz |
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/amr.c')
-rw-r--r-- | libavcodec/amr.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/libavcodec/amr.c b/libavcodec/amr.c index 93f775b6f6..7b097a26ea 100644 --- a/libavcodec/amr.c +++ b/libavcodec/amr.c @@ -221,7 +221,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx, Word16 serial[SERIAL_FRAMESIZE]; /* coded bits */ Word16 *synth; UWord8 *packed_bits; - *data_size=0; static Word16 packed_size[16] = {12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0}; int i; @@ -416,7 +415,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx, static short block_size[16]={ 12, 13, 15, 17, 19, 20, 26, 31, 5, 0, 0, 0, 0, 0, 0, 0 }; enum Mode dec_mode; int packet_size; - *data_size=0; //printf("amr_decode_frame data_size=%i buf=0x%X buf_size=%d frameCount=%d!!\n",*data_size,buf,buf_size,s->frameCount); @@ -603,7 +601,6 @@ static int amr_wb_decode_frame(AVCodecContext * avctx, int offset=0; int mode; int packet_size; - *data_size=0; while(offset<buf_size) { |