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/adpcm.c | |
parent | 5da42be1921604a97e6180f242c78c484a179314 (diff) | |
download | ffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.zip ffmpeg-streaming-53db1cae1c2d555d207563e0197809faf23b3dcc.tar.gz |
data_size = 0 cleanup
Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/adpcm.c')
-rw-r--r-- | libavcodec/adpcm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 2ce7dc8..0755e24 100644 --- a/libavcodec/adpcm.c +++ b/libavcodec/adpcm.c @@ -568,7 +568,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx, if(st) { /* handle stereo interlacing */ c->channel = (channel + 1) % 2; /* we get one packet for left, then one for right data */ if(channel == 1) { /* wait for the other packet before outputing anything */ - *data_size = 0; return src - buf; } } @@ -842,7 +841,6 @@ static int adpcm_decode_frame(AVCodecContext *avctx, } break; default: - *data_size = 0; return -1; } *data_size = (uint8_t *)samples - (uint8_t *)data; |