]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/frwu.c
avcodec/hevc_parser: fix split function of parser
[ffmpeg] / libavcodec / frwu.c
index c778dbde1a585d9351522fcaca6886b2875c60e6..1aabefeb6f6d69f8dc556a4c6ff70cf0c2e059aa 100644 (file)
@@ -103,7 +103,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame,
 }
 
 static const AVOption frwu_options[] = {
-    {"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), FF_OPT_TYPE_INT,
+    {"change_field_order", "Change field order", offsetof(FRWUContext, change_field_order), AV_OPT_TYPE_INT,
      {.i64 = 0}, 0, 1, AV_OPT_FLAG_DECODING_PARAM | AV_OPT_FLAG_VIDEO_PARAM},
     {NULL}
 };
@@ -123,6 +123,6 @@ AVCodec ff_frwu_decoder = {
     .priv_data_size = sizeof(FRWUContext),
     .init           = decode_init,
     .decode         = decode_frame,
-    .capabilities   = CODEC_CAP_DR1,
+    .capabilities   = AV_CODEC_CAP_DR1,
     .priv_class     = &frwu_class,
 };