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