]> git.sesse.net Git - ffmpeg/blobdiff - libavformat/mpeg.c
avformat/mpegtsenc: Change the service_type field to enum
[ffmpeg] / libavformat / mpeg.c
index 9cf0bcba4792627b5b5e6c2a67912aed5dda8f55..a0b5738790a7514160aa0a66d44855ac60896cf3 100644 (file)
@@ -28,8 +28,6 @@
 # include "libavutil/bprint.h"
 #endif
 
-#undef NDEBUG
-#include <assert.h>
 #include "libavutil/avassert.h"
 
 /*********************************************/
@@ -210,7 +208,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;