Mercurial > libavformat.hg
comparison movenc.c @ 286:eccf0c3e3289 libavformat
Using the extension m4a for audio only MPEG-4 files is increasingly
common, especially since Apple iTunes treats files with the two
extensions differently. Without the patch, FFmpeg won't know that m4a
is for MPEG-4 files
patch by (Dan Christiansen <danchr at daimi dot au dot dk>)
author | michael |
---|---|
date | Sun, 19 Oct 2003 20:57:47 +0000 |
parents | e091218eccd2 |
children | 0b2eed7b1210 |
comparison
equal
deleted
inserted
replaced
285:31cd17d77178 | 286:eccf0c3e3289 |
---|---|
887 }; | 887 }; |
888 | 888 |
889 static AVOutputFormat mp4_oformat = { | 889 static AVOutputFormat mp4_oformat = { |
890 "mp4", | 890 "mp4", |
891 "mp4 format", | 891 "mp4 format", |
892 NULL, | 892 "application/mp4", |
893 "mp4", | 893 "mp4,m4a", |
894 sizeof(MOVContext), | 894 sizeof(MOVContext), |
895 CODEC_ID_AAC, | 895 CODEC_ID_AAC, |
896 CODEC_ID_MPEG4, | 896 CODEC_ID_MPEG4, |
897 mov_write_header, | 897 mov_write_header, |
898 mov_write_packet, | 898 mov_write_packet, |