Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@gmail.com>2021-03-07 02:10:12 +0300
committerJames Almer <jamrial@gmail.com>2021-04-27 16:43:15 +0300
commitcb3ac722f4fc8d819f663e346bdb53f64a70f1fd (patch)
treee4e07dcecf2086a074d0d8f1f98125581db53d0b /libavcodec/avcodec.h
parenta247ac640df3da573cd661065bf53f37863e2b46 (diff)
avcodec: Constify AVCodecParserContext.parser
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com> Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 986e31b5aa..51281bf1b6 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2877,7 +2877,7 @@ enum AVPictureStructure {
typedef struct AVCodecParserContext {
void *priv_data;
- struct AVCodecParser *parser;
+ const struct AVCodecParser *parser;
int64_t frame_offset; /* offset of the current frame */
int64_t cur_offset; /* current offset
(incremented by each av_parser_parse()) */