[FFmpeg-devel] [PATCH 3/3] lavf/movdec: request probing for an ambiguous codec tag
Rodger Combs
rodger.combs at gmail.com
Wed Dec 21 06:48:14 EET 2016
---
libavformat/isom.c | 2 ++
1 file changed, 2 insertions(+)
diff --git a/libavformat/isom.c b/libavformat/isom.c
index ae10cb7d3f..37bfd5af30 100644
--- a/libavformat/isom.c
+++ b/libavformat/isom.c
@@ -509,6 +509,8 @@ FF_ENABLE_DEPRECATION_WARNINGS
codec_id= ff_codec_get_id(ff_mp4_obj_type, object_type_id);
if (codec_id)
st->codecpar->codec_id = codec_id;
+ if (object_type_id == 0x6B) // This can be either MP3 or MP2; let probe_codec decide
+ st->request_probe = 5;
av_log(fc, AV_LOG_TRACE, "esds object type id 0x%02x\n", object_type_id);
len = ff_mp4_read_descr(fc, pb, &tag);
if (tag == MP4DecSpecificDescrTag) {
--
2.11.0
More information about the ffmpeg-devel
mailing list