[FFmpeg-cvslog] r14563 - trunk/libavformat/matroskadec.c
aurel
subversion
Tue Aug 5 02:40:34 CEST 2008
Author: aurel
Date: Tue Aug 5 02:40:33 2008
New Revision: 14563
Log:
matroskadec: declare var where it's used
Modified:
trunk/libavformat/matroskadec.c
Modified: trunk/libavformat/matroskadec.c
==============================================================================
--- trunk/libavformat/matroskadec.c (original)
+++ trunk/libavformat/matroskadec.c Tue Aug 5 02:40:33 2008
@@ -1386,7 +1386,6 @@ matroska_parse_seekhead (MatroskaDemuxCo
case MATROSKA_ID_TAGS: {
uint32_t level_up = matroska->level_up;
offset_t before_pos;
- uint64_t length;
MatroskaLevel level;
/* remember the peeked ID and the current position */
@@ -1448,9 +1447,7 @@ matroska_parse_seekhead (MatroskaDemuxCo
/* remove dummy level */
if (dummy_level)
while (matroska->num_levels) {
- matroska->num_levels--;
- length =
- matroska->levels[matroska->num_levels].length;
+ uint64_t length = matroska->levels[--matroska->num_levels].length;
if (length == (uint64_t)-1)
break;
}
More information about the ffmpeg-cvslog
mailing list