mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
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
This commit is contained in:
parent
8831db5ca2
commit
7f96ed5b16
3
ffmpeg.c
3
ffmpeg.c
@ -2371,6 +2371,9 @@ static void opt_output_file(const char *filename)
|
|||||||
|
|
||||||
audio_enc = &st->codec;
|
audio_enc = &st->codec;
|
||||||
audio_enc->codec_type = CODEC_TYPE_AUDIO;
|
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) {
|
if (audio_stream_copy) {
|
||||||
st->stream_copy = 1;
|
st->stream_copy = 1;
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user