[SCM] libav/experimental: Remove redundant code
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 16:44:59 UTC 2013
The following commit has been merged in the experimental branch:
commit 0a704b5f21aca1ff30fd039158bde92438c1ce67
Author: Benjamin Larsson <banan at ludd.ltu.se>
Date: Sat Apr 25 17:33:36 2009 +0000
Remove redundant code
Originally committed as revision 18687 to svn://svn.ffmpeg.org/ffmpeg/trunk
diff --git a/libavcodec/cook.c b/libavcodec/cook.c
index db32734..edc1a22 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;
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list