[FFmpeg-devel] [PATCH 08/10] avformat/matroskadec: Remove redundant variable declaration

Andreas Rheinhardt andreas.rheinhardt at googlemail.com
Fri Mar 8 11:26:02 EET 2019


Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at googlemail.com>
---
 libavformat/matroskadec.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 0e76fd828d..d899ee5744 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1171,7 +1171,6 @@ static int ebml_parse_elem(MatroskaDemuxContext *matroska,
         }
         if (matroska->num_levels > 0) {
             MatroskaLevel *level = &matroska->levels[matroska->num_levels - 1];
-            AVIOContext *pb = matroska->ctx->pb;
             int64_t pos = avio_tell(pb);
             if (level->length != EBML_UNKNOWN_LENGTH &&
                 (pos + length) > (level->start + level->length)) {
-- 
2.19.2



More information about the ffmpeg-devel mailing list