diff options
author | Diego Biurrun <diego@biurrun.de> | 2014-07-26 13:46:40 +0400 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2014-07-27 01:51:16 +0400 |
commit | 53abe32409f13687c864b3cda077a1aa906a2459 (patch) | |
tree | 374de74a800a890a9a09a9f3328a8cce99daecde /libavcodec/avcodec.h | |
parent | 1a880b2fb8456ce68eefe5902bac95fea1e6a72d (diff) |
avcodec: Mark argument in av_{parser|hwaccel|bitstream_filter}_next as const
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index cc74aeef04..8f93911019 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -3800,7 +3800,7 @@ typedef struct AVCodecParser { struct AVCodecParser *next; } AVCodecParser; -AVCodecParser *av_parser_next(AVCodecParser *c); +AVCodecParser *av_parser_next(const AVCodecParser *c); void av_register_codec_parser(AVCodecParser *parser); AVCodecParserContext *av_parser_init(int codec_id); @@ -4281,7 +4281,7 @@ int av_bitstream_filter_filter(AVBitStreamFilterContext *bsfc, const uint8_t *buf, int buf_size, int keyframe); void av_bitstream_filter_close(AVBitStreamFilterContext *bsf); -AVBitStreamFilter *av_bitstream_filter_next(AVBitStreamFilter *f); +AVBitStreamFilter *av_bitstream_filter_next(const AVBitStreamFilter *f); /* memory */ @@ -4343,7 +4343,7 @@ void av_register_hwaccel(AVHWAccel *hwaccel); * if hwaccel is non-NULL, returns the next registered hardware accelerator * after hwaccel, or NULL if hwaccel is the last one. */ -AVHWAccel *av_hwaccel_next(AVHWAccel *hwaccel); +AVHWAccel *av_hwaccel_next(const AVHWAccel *hwaccel); /** |