aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2015-10-09 16:24:05 +0200
committerLuca Barbato <lu_zero@gentoo.org>2015-10-10 14:50:42 +0200
commitb9ece15a01782b4f301c0c139d1d7b20f848914c (patch)
treed65e574f89bc5563df39f7e7857567edd116ead3
parentd00a8fd417ad20cecbc7ca17b25f352655148fb1 (diff)
downloadffmpeg-b9ece15a01782b4f301c0c139d1d7b20f848914c.tar.gz
nullenc: Use the wrapped avframe pseudo-encoder
-rw-r--r--libavformat/nullenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c
index 829f2a841e..0da5940d8a 100644
--- a/libavformat/nullenc.c
+++ b/libavformat/nullenc.c
@@ -30,7 +30,7 @@ AVOutputFormat ff_null_muxer = {
.name = "null",
.long_name = NULL_IF_CONFIG_SMALL("raw null video"),
.audio_codec = AV_NE(AV_CODEC_ID_PCM_S16BE, AV_CODEC_ID_PCM_S16LE),
- .video_codec = AV_CODEC_ID_RAWVIDEO,
+ .video_codec = AV_CODEC_ID_WRAPPED_AVFRAME,
.write_packet = null_write_packet,
- .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS | AVFMT_RAWPICTURE,
+ .flags = AVFMT_NOFILE | AVFMT_NOTIMESTAMPS,
};