diff options
author | Benoit Fouet <benoit.fouet@purplelabs.com> | 2007-02-05 09:11:10 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2007-02-05 09:11:10 +0000 |
commit | 487747de57712fbe548ce6bf4ada7f7643370092 (patch) | |
tree | 1d5da1fbcb85d4ed30f4afea769e5dd2c0ed467a | |
parent | 4305a4ef0d19148564ed73959cb6274abfd43e4c (diff) | |
download | ffmpeg-487747de57712fbe548ce6bf4ada7f7643370092.tar.gz |
Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.
Originally committed as revision 7821 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavcodec/amr.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavcodec/amr.c b/libavcodec/amr.c index b19346e3d8..17be295da0 100644 --- a/libavcodec/amr.c +++ b/libavcodec/amr.c @@ -436,11 +436,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx, /* av_log(NULL,AV_LOG_DEBUG,"amr_decode_frame buf=%p buf_size=%d frameCount=%d!!\n",buf,buf_size,s->frameCount); */ - if(buf_size==0) { - /* nothing to do */ - return 0; - } - dec_mode = (buf[0] >> 3) & 0x000F; packet_size = block_size[dec_mode]+1; |