Imported Upstream version 6.1
[platform/upstream/ffmpeg.git] / libavformat / idroqenc.c
index 57dd7f0..9baf9ad 100644 (file)
@@ -20,6 +20,7 @@
  */
 
 #include "avformat.h"
+#include "mux.h"
 #include "rawenc.h"
 
 
@@ -59,12 +60,12 @@ static int roq_write_header(struct AVFormatContext *s)
     return 0;
 }
 
-const AVOutputFormat ff_roq_muxer = {
-    .name         = "roq",
-    .long_name    = NULL_IF_CONFIG_SMALL("raw id RoQ"),
-    .extensions   = "roq",
-    .audio_codec  = AV_CODEC_ID_ROQ_DPCM,
-    .video_codec  = AV_CODEC_ID_ROQ,
+const FFOutputFormat ff_roq_muxer = {
+    .p.name        = "roq",
+    .p.long_name   = NULL_IF_CONFIG_SMALL("raw id RoQ"),
+    .p.extensions  = "roq",
+    .p.audio_codec = AV_CODEC_ID_ROQ_DPCM,
+    .p.video_codec = AV_CODEC_ID_ROQ,
     .write_header = roq_write_header,
     .write_packet = ff_raw_write_packet,
 };