avformat/mpeg: Avoid dead assignment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
pull/101/merge
Michael Niedermayer 10 years ago
parent e172f5e53a
commit 8d7d88135c
  1. 2
      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;

Loading…
Cancel
Save