From d3d265b28866f6ef6f9ea588a7049c60c7b74b5b Mon Sep 17 00:00:00 2001 From: Aurelien Jacobs Date: Sun, 27 Jul 2008 15:12:00 +0000 Subject: [PATCH] matroska: add support for A_QUICKTIME/QDM2 codec Originally committed as revision 14430 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/matroska.c | 1 + libavformat/matroska.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/matroska.c b/libavformat/matroska.c index b62511f29f..da42b56b33 100644 --- a/libavformat/matroska.c +++ b/libavformat/matroska.c @@ -59,6 +59,7 @@ const CodecTags ff_mkv_codec_tags[]={ {"A_REAL/ATRC" , CODEC_ID_ATRAC3}, {"A_REAL/COOK" , CODEC_ID_COOK}, // {"A_REAL/SIPR" , CODEC_ID_SIPRO}, + {"A_QUICKTIME/QDM2" , CODEC_ID_QDM2}, {"S_TEXT/UTF8" , CODEC_ID_TEXT}, {"S_TEXT/ASCII" , CODEC_ID_TEXT}, diff --git a/libavformat/matroska.h b/libavformat/matroska.h index 26f4666fd9..35c618ba53 100644 --- a/libavformat/matroska.h +++ b/libavformat/matroska.h @@ -210,7 +210,7 @@ typedef enum { */ typedef struct CodecTags{ - char str[16]; + char str[20]; enum CodecID id; }CodecTags;