From b9ece15a01782b4f301c0c139d1d7b20f848914c Mon Sep 17 00:00:00 2001
From: Luca Barbato <lu_zero@gentoo.org>
Date: Fri, 9 Oct 2015 16:24:05 +0200
Subject: [PATCH] nullenc: Use the wrapped avframe pseudo-encoder

---
 libavformat/nullenc.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c
index 829f2a841e2..0da5940d8a5 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,
 };
-- 
GitLab