1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-01-13 21:28:01 +02:00

avformat/internal: Avoid casting const away

Fixes many warnings when using -Wcast-qual.

Reviewed-by: Tomas Härdin <git@haerdin.se>
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
Andreas Rheinhardt 2023-09-06 15:39:24 +02:00
parent 5f8c113b75
commit 185d0acdc7

View File

@ -418,7 +418,7 @@ static av_always_inline FFStream *ffstream(AVStream *st)
static av_always_inline const FFStream *cffstream(const AVStream *st)
{
return (FFStream*)st;
return (const FFStream*)st;
}
#ifdef __GNUC__