diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-21 12:55:01 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-21 12:55:01 +0000 |
commit | 7f96ed5b16cd340dc5b0878f7d070636c4ed7ef2 (patch) | |
tree | c28466366f9eb1929b19e30d357c5f38222e3ec9 | |
parent | 8831db5ca231f3c63177c7b916a7753534bbb234 (diff) | |
download | ffmpeg-7f96ed5b16cd340dc5b0878f7d070636c4ed7ef2.tar.gz |
forgot to apply this chunk appearently, no, i dont really remember where it came from
Originally committed as revision 2409 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | ffmpeg.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -2371,6 +2371,9 @@ static void opt_output_file(const char *filename) audio_enc = &st->codec; audio_enc->codec_type = CODEC_TYPE_AUDIO; + + if(!strcmp(file_oformat->name, "mp4") || !strcmp(file_oformat->name, "mov") || !strcmp(file_oformat->name, "3gp")) + audio_enc->flags |= CODEC_FLAG_GLOBAL_HEADER; if (audio_stream_copy) { st->stream_copy = 1; } else { |