nullenc: Use the wrapped avframe pseudo-encoder
authorLuca Barbato <lu_zero@gentoo.org>
Fri, 9 Oct 2015 14:24:05 +0000 (16:24 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Sat, 10 Oct 2015 12:50:42 +0000 (14:50 +0200)
libavformat/nullenc.c

index 829f2a8..0da5940 100644 (file)
@@ -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,
 };