diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2016-06-21 14:17:13 +0200 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2016-06-30 09:24:39 +0200 |
commit | 879330c561f4214bd81c35f46f31dd7fe906a59a (patch) | |
tree | 1ddb7b6e5264d8950b120fb15919435b79325829 /libavcodec/h264_parser.c | |
parent | 4cc1ce4a91788a71670ea43fa0026b5a969e9e9e (diff) | |
download | ffmpeg-879330c561f4214bd81c35f46f31dd7fe906a59a.tar.gz |
h264: make H264ParamSets sps const
Diffstat (limited to 'libavcodec/h264_parser.c')
-rw-r--r-- | libavcodec/h264_parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/h264_parser.c b/libavcodec/h264_parser.c index ce4bab225e..7af2a8dddc 100644 --- a/libavcodec/h264_parser.c +++ b/libavcodec/h264_parser.c @@ -373,7 +373,7 @@ static inline int parse_nal_units(AVCodecParserContext *s, "non-existing SPS %u referenced\n", p->ps.pps->sps_id); goto fail; } - p->ps.sps = (SPS*)p->ps.sps_list[p->ps.pps->sps_id]->data; + p->ps.sps = (const SPS*)p->ps.sps_list[p->ps.pps->sps_id]->data; sps = p->ps.sps; |