From 53db1cae1c2d555d207563e0197809faf23b3dcc Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 21 May 2004 14:37:16 +0000 Subject: data_size = 0 cleanup Originally committed as revision 3146 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/adpcm.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'libavcodec/adpcm.c') diff --git a/libavcodec/adpcm.c b/libavcodec/adpcm.c index 2ce7dc87f5..0755e24fef 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; -- cgit v1.2.3