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

Submitted by Andreas Rheinhardt on March 8, 2019, 9:26 a.m.

Details

Message ID 20190308092604.3752-9-andreas.rheinhardt@googlemail.com
State New
Headers show

Commit Message

Andreas Rheinhardt March 8, 2019, 9:26 a.m.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@googlemail.com>
---
 libavformat/matroskadec.c | 1 -
 1 file changed, 1 deletion(-)

Patch hide | download patch | download mbox

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)) {