mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 20:19:55 +00:00
Ignore es_map_length when parsing mpeg program stream map.
Fixes ticket #3195.
This commit is contained in:
parent
e2bf00ce46
commit
af7562a035
@ -193,6 +193,8 @@ 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);
|
||||
/* Ignore es_map_length, trust psm_length */
|
||||
es_map_length = psm_length - ps_info_length - 10;
|
||||
|
||||
/* at least one es available? */
|
||||
while (es_map_length >= 4){
|
||||
|
Loading…
Reference in New Issue
Block a user