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:
parent
5f8c113b75
commit
185d0acdc7
@ -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__
|
||||
|
Loading…
Reference in New Issue
Block a user