summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-13 19:05:10 +0200
committerCarl Eugen Hoyos <ceffmpeg@gmail.com>2017-09-20 02:20:32 +0200
commitca72cd137d3ba57b03018dbeb83ca99d7ef96dca (patch)
tree737c593c79b761bb3016fa6ed58101bde1eb5bcd /libavformat
parentb4b02477bd8029daca389ec745bbb46457b74b5c (diff)
downloadffmpeg-streaming-ca72cd137d3ba57b03018dbeb83ca99d7ef96dca.zip
ffmpeg-streaming-ca72cd137d3ba57b03018dbeb83ca99d7ef96dca.tar.gz
lavf/mpegts: Consider stream_type 0x0f just a hint towards AAC.
It is also used in the wild to signal latm. Fixes ticket #6657.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/mpegts.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/mpegts.c b/libavformat/mpegts.c
index 4d2f5c6..53cbcfb 100644
--- a/libavformat/mpegts.c
+++ b/libavformat/mpegts.c
@@ -814,7 +814,7 @@ static int mpegts_set_stream_info(AVStream *st, PESContext *pes,
st->codecpar->codec_tag = pes->stream_type;
mpegts_find_stream_type(st, pes->stream_type, ISO_types);
- if (pes->stream_type == 4)
+ if (pes->stream_type == 4 || pes->stream_type == 0x0f)
st->request_probe = 50;
if ((prog_reg_desc == AV_RL32("HDMV") ||
prog_reg_desc == AV_RL32("HDPR")) &&
OpenPOWER on IntegriCloud