[FFmpeg-devel] [PATCH] Add manu/modl to mov_read_udta_string.

Tianqiang Liu ltq1987 at gmail.com
Fri Mar 2 19:17:11 EET 2018


From: Tianqiang Liu <ltq at google.com>

Documentation: http://mp4ra.org/atoms.html

---
 libavformat/mov.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index f01116874c..00b3b25944 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -336,6 +336,8 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     case MKTAG( 'l','d','e','s'): key = "synopsis";  break;
     case MKTAG( 'l','o','c','i'):
         return mov_metadata_loci(c, pb, atom.size);
+    case MKTAG( 'm','a','n','u'): key = "make"; break;
+    case MKTAG( 'm','o','d','l'): key = "model"; break;
     case MKTAG( 'p','c','s','t'): key = "podcast";
         parse = mov_metadata_int8_no_padding; break;
     case MKTAG( 'p','g','a','p'): key = "gapless_playback";
-- 
2.16.2.395.g2e18187dfd-goog



More information about the ffmpeg-devel mailing list