changeset 4475:65e3ae093faf libavcodec

Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.
author diego
date Mon, 05 Feb 2007 09:11:10 +0000
parents 82277cf5f051
children 16e85254118f
files amr.c
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/amr.c	Mon Feb 05 06:58:02 2007 +0000
+++ b/amr.c	Mon Feb 05 09:11:10 2007 +0000
@@ -436,11 +436,6 @@
 
     /* 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;