Merge commit '9cce011b1d2f66366f5d75a024c2a2f93dc2b589'

Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
Derek Buitenhuis 2016-01-27 16:57:24 +00:00
commit 257766a838
1 changed files with 0 additions and 2 deletions

View File

@ -170,7 +170,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
if (!st->codec->extradata)
exit(1);
memcpy(st->codec->extradata, h264_extradata, sizeof(h264_extradata));
st->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
video_st = st;
st = avformat_new_stream(ctx, NULL);
@ -187,7 +186,6 @@ static void init_fps(int bf, int audio_preroll, int fps)
if (!st->codec->extradata)
exit(1);
memcpy(st->codec->extradata, aac_extradata, sizeof(aac_extradata));
st->codec->flags |= AV_CODEC_FLAG_GLOBAL_HEADER;
audio_st = st;
if (avformat_write_header(ctx, &opts) < 0)