summaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-01-07 08:26:26 +0100
committerAnton Khirnov <anton@khirnov.net>2016-01-12 09:12:24 +0100
commit9cce011b1d2f66366f5d75a024c2a2f93dc2b589 (patch)
treeaa4756e024576e688d764234173303ec267b52da /libavformat
parent521dc78366c6ea54b7b69426dab302a57231f81e (diff)
downloadffmpeg-streaming-9cce011b1d2f66366f5d75a024c2a2f93dc2b589.zip
ffmpeg-streaming-9cce011b1d2f66366f5d75a024c2a2f93dc2b589.tar.gz
movenc-test: stop setting the GLOBAL_HEADER codec flag
This test does no encoding, setting the flag was done just to silence the warning removed in the previous commit.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/movenc-test.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/libavformat/movenc-test.c b/libavformat/movenc-test.c
index 6520aea..cfd07aa 100644
--- a/libavformat/movenc-test.c
+++ b/libavformat/movenc-test.c
@@ -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)
OpenPOWER on IntegriCloud