diff mbox

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

Message ID 20180302171711.63113-1-ltq1987@gmail.com
State Accepted
Commit 5df9d75b4417e8ca16a4ca48caa2902315723dd2
Headers show

Commit Message

Tianqiang Liu March 2, 2018, 5:17 p.m. UTC
From: Tianqiang Liu <ltq@google.com>

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

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

Comments

Michael Niedermayer March 3, 2018, 9:36 p.m. UTC | #1
On Fri, Mar 02, 2018 at 09:17:11AM -0800, Tianqiang Liu wrote:
> From: Tianqiang Liu <ltq@google.com>
> 
> Documentation: http://mp4ra.org/atoms.html
> 
> ---
>  libavformat/mov.c | 2 ++
>  1 file changed, 2 insertions(+)

will apply 
thanks

[...]
diff mbox

Patch

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";