summaryrefslogtreecommitdiff
path: root/libavformat/mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-01-14 00:06:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-01-14 00:06:43 +0100
commit8d7d88135cf3303b62382e704de6a9b284755a3c (patch)
tree7347a109930d7fe1a21b00e95c46c2ef13c1d82e /libavformat/mpeg.c
parente172f5e53ae4dbbcdcf81c9a3b962dc9f5a8a98d (diff)
avformat/mpeg: Avoid dead assignment
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/mpeg.c')
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 9cf0bcba47..f98d850272 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -210,7 +210,7 @@ static long mpegps_psm_parse(MpegDemuxContext *m, AVIOContext *pb)
/* skip program_stream_info */
avio_skip(pb, ps_info_length);
- es_map_length = avio_rb16(pb);
+ /*es_map_length = */avio_rb16(pb);
/* Ignore es_map_length, trust psm_length */
es_map_length = psm_length - ps_info_length - 10;