Commit a9384ce6 authored by diego's avatar diego

Remove useless check, patch by Benoit Fouet, benoit.fouet purplelabs com.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7821 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent eb9521d2
...@@ -436,11 +436,6 @@ static int amr_nb_decode_frame(AVCodecContext * avctx, ...@@ -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); */ /* 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; dec_mode = (buf[0] >> 3) & 0x000F;
packet_size = block_size[dec_mode]+1; packet_size = block_size[dec_mode]+1;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment