History

avcodec/codec_internal: remove unnecessary avcodec.h include

James Almer committed 1 year ago

Commit 7e848651 parent cd81f082 files · +4 −3Browse files

Unified · Split

2 files
  1. libavcodec/allcodecs.c +1 −0
  2. libavcodec/codec_internal.h +3 −3
libavcodec/allcodecs.c+1−0
@@ -29,6 +29,7 @@ · 28 unmodified lines
29 29
30#include "config.h"30#include "config.h"
31#include "libavutil/thread.h"31#include "libavutil/thread.h"
32#include "avcodec.h"
32#include "codec.h"33#include "codec.h"
33#include "codec_id.h"34#include "codec_id.h"
34#include "codec_internal.h"35#include "codec_internal.h"
libavcodec/codec_internal.h+3−3
@@ -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
102struct AVCodecContext;101struct AVCodecContext;
103struct AVSubtitle;102struct AVSubtitle;
104struct AVPacket;103struct AVPacket;
104enum AVCodecConfig;
105 105
106enum FFCodecType {106enum 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` will268 * 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 in283 * 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 */
286int ff_default_get_supported_config(const AVCodecContext *avctx,286int 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,

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t