summaryrefslogtreecommitdiff
path: root/libavformat/movenc.c
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-03 19:23:24 +0000
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-09-03 19:23:24 +0000
commitc3b1325158c9dc04198c7c1b35fd745bdf787dd8 (patch)
tree355fe9d3adc2f8a38816a296bffd11a37d478c47 /libavformat/movenc.c
parent5180b027cc1cd4431bf870f36b2cd25391139524 (diff)
dirac muxing support in mp4/mov
Originally committed as revision 15188 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/movenc.c')
-rw-r--r--libavformat/movenc.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 074e1df11e..ab7e02c73b 100644
--- a/libavformat/movenc.c
+++ b/libavformat/movenc.c
@@ -574,6 +574,7 @@ static int mov_find_codec_tag(AVFormatContext *s, MOVTrack *track)
return 0;
if (track->enc->codec_id == CODEC_ID_H264) tag = MKTAG('a','v','c','1');
else if (track->enc->codec_id == CODEC_ID_AC3) tag = MKTAG('a','c','-','3');
+ else if (track->enc->codec_id == CODEC_ID_DIRAC) tag = MKTAG('d','r','a','c');
else if (track->enc->codec_type == CODEC_TYPE_VIDEO) tag = MKTAG('m','p','4','v');
else if (track->enc->codec_type == CODEC_TYPE_AUDIO) tag = MKTAG('m','p','4','a');
} else if (track->mode == MODE_IPOD) {