avformat/mpeg: Avoid dead assignment
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Jan 2015 23:06:43 +0000 (00:06 +0100)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 13 Jan 2015 23:06:43 +0000 (00:06 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/mpeg.c

index 9cf0bcba4792627b5b5e6c2a67912aed5dda8f55..f98d8502725f83f39049cda24758763db00c66e9 100644 (file)
@@ -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;