[FFmpeg-cvslog] avformat/mpeg: Avoid dead assignment

Michael Niedermayer git at videolan.org
Wed Jan 14 00:36:23 CET 2015


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Wed Jan 14 00:06:43 2015 +0100| [8d7d88135cf3303b62382e704de6a9b284755a3c] | committer: Michael Niedermayer

avformat/mpeg: Avoid dead assignment

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8d7d88135cf3303b62382e704de6a9b284755a3c
---

 libavformat/mpeg.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 9cf0bcb..f98d850 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;
 



More information about the ffmpeg-cvslog mailing list