[FFmpeg-devel] [PATCH] mov: add more udta meta data recognition

Xidorn Quan quanxunzhen at gmail.com
Thu Nov 15 15:40:23 CET 2012


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

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 73077ee..9b179cb 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -312,6 +312,9 @@ static int mov_read_udta_string(MOVContext *c, AVIOContext *pb, MOVAtom atom)
     case MKTAG(0xa9,'t','o','o'):
     case MKTAG(0xa9,'s','w','r'): key = "encoder";   break;
     case MKTAG(0xa9,'e','n','c'): key = "encoder";   break;
+    case MKTAG(0xa9,'m','a','k'): key = "make";      break;
+    case MKTAG(0xa9,'m','o','d'): key = "model";     break;
+    case MKTAG(0xa9,'x','y','z'): key = "location";  break;
     case MKTAG( 'd','e','s','c'): key = "description";break;
     case MKTAG( 'l','d','e','s'): key = "synopsis";  break;
     case MKTAG( 't','v','s','h'): key = "show";      break;
-- 
1.7.10.2 (Apple Git-33)



More information about the ffmpeg-devel mailing list