summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/nullenc.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/nullenc.c b/libavformat/nullenc.c
index 7354913726..d4769d5920 100644
--- a/libavformat/nullenc.c
+++ b/libavformat/nullenc.c
@@ -20,6 +20,7 @@
*/
#include "avformat.h"
+#include "internal.h"
static int null_write_packet(struct AVFormatContext *s, AVPacket *pkt)
{
@@ -33,4 +34,5 @@ const AVOutputFormat ff_null_muxer = {
.video_codec = AV_CODEC_ID_WRAPPED_AVFRAME,
.write_packet = null_write_packet,
.flags = AVFMT_VARIABLE_FPS | AVFMT_NOFILE | AVFMT_NOTIMESTAMPS,
+ .interleave_packet = ff_interleave_packet_passthrough,
};