Remove unused code found by CSA
authorBenjamin Larsson <banan@ludd.ltu.se>
Sun, 10 May 2009 14:33:40 +0000 (14:33 +0000)
committerBenjamin Larsson <banan@ludd.ltu.se>
Sun, 10 May 2009 14:33:40 +0000 (14:33 +0000)
Originally committed as revision 18783 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/matroskadec.c

index ac12f1e..68e6c2e 100644 (file)
@@ -1679,7 +1679,6 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
                 if (av_new_packet(pkt, pkt_size+offset) < 0) {
                     av_free(pkt);
                     res = AVERROR(ENOMEM);
                 if (av_new_packet(pkt, pkt_size+offset) < 0) {
                     av_free(pkt);
                     res = AVERROR(ENOMEM);
-                    n = laces-1;
                     break;
                 }
                 if (offset)
                     break;
                 }
                 if (offset)