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
1 changed files with 1 additions and 1 deletions

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__