Unified · Split
| @@ -29,6 +29,7 @@ · 28 unmodified lines | ||
| 29 | 29 | |
| 30 | 30 | #include "config.h" |
| 31 | 31 | #include "libavutil/thread.h" |
| 32 | +#include "avcodec.h" | |
| 32 | 33 | #include "codec.h" |
| 33 | 34 | #include "codec_id.h" |
| 34 | 35 | #include "codec_internal.h" |
| @@ -22,7 +22,6 @@ · 21 unmodified lines | ||
| 22 | 22 | #include <stdint.h> |
| 23 | 23 | |
| 24 | 24 | #include "libavutil/attributes.h" |
| 25 | −#include "avcodec.h" | |
| 26 | 25 | #include "codec.h" |
| 27 | 26 | #include "config.h" |
| 28 | 27 | |
| @@ -102,6 +101,7 @@ typedef struct FFCodecDefault { · 73 unmodified lines | ||
| 102 | 101 | struct AVCodecContext; |
| 103 | 102 | struct AVSubtitle; |
| 104 | 103 | struct AVPacket; |
| 104 | +enum AVCodecConfig; | |
| 105 | 105 | |
| 106 | 106 | enum FFCodecType { |
| 107 | 107 | /* The codec is a decoder using the decode callback; |
| @@ -268,7 +268,7 @@ typedef struct FFCodec { · 160 unmodified lines | ||
| 268 | 268 | * ff_default_get_supported_config() will be used. `out_num_configs` will |
| 269 | 269 | * always be set to a valid pointer. |
| 270 | 270 | */ |
| 271 | − int (*get_supported_config)(const AVCodecContext *avctx, | |
| 271 | + int (*get_supported_config)(const struct AVCodecContext *avctx, | |
| 272 | 272 | const AVCodec *codec, |
| 273 | 273 | enum AVCodecConfig config, |
| 274 | 274 | unsigned flags, |
| @@ -283,7 +283,7 @@ typedef struct FFCodec { · 8 unmodified lines | ||
| 283 | 283 | * For AVCODEC_CONFIG_COLOR_RANGE, the output will depend on the bitmask in |
| 284 | 284 | * FFCodec.color_ranges, with a value of 0 returning NULL. |
| 285 | 285 | */ |
| 286 | −int ff_default_get_supported_config(const AVCodecContext *avctx, | |
| 286 | +int ff_default_get_supported_config(const struct AVCodecContext *avctx, | |
| 287 | 287 | const AVCodec *codec, |
| 288 | 288 | enum AVCodecConfig config, |
| 289 | 289 | unsigned flags, |