diff options
author | Benjamin Larsson <banan@ludd.ltu.se> | 2009-04-25 17:33:36 +0000 |
---|---|---|
committer | Benjamin Larsson <banan@ludd.ltu.se> | 2009-04-25 17:33:36 +0000 |
commit | 0a704b5f21aca1ff30fd039158bde92438c1ce67 (patch) | |
tree | abeeb5201ca9384b3d6f3580f137a867c13f419f /libavcodec/cook.c | |
parent | 9189d7eba61edb03ea53444a41e6a5ab4fad7d82 (diff) | |
download | ffmpeg-0a704b5f21aca1ff30fd039158bde92438c1ce67.tar.gz |
Remove redundant code
Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/cook.c')
-rw-r--r-- | libavcodec/cook.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/cook.c b/libavcodec/cook.c index db32734040..edc1a22d17 100644 --- a/libavcodec/cook.c +++ b/libavcodec/cook.c @@ -1008,12 +1008,10 @@ static int cook_decode_frame(AVCodecContext *avctx, /* estimate subpacket sizes */ q->subpacket[0].size = avctx->block_align; - if(q->num_subpackets > 1){ for(i=1;i<q->num_subpackets;i++){ q->subpacket[i].size = 2 * buf[avctx->block_align - q->num_subpackets + i]; q->subpacket[0].size -= (q->subpacket[i].size + 1); } - } /* decode supbackets */ *data_size = 0; |