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:
@@ -418,7 +418,7 @@ static av_always_inline FFStream *ffstream(AVStream *st)
|
|||||||
|
|
||||||
static av_always_inline const FFStream *cffstream(const AVStream *st)
|
static av_always_inline const FFStream *cffstream(const AVStream *st)
|
||||||
{
|
{
|
||||||
return (FFStream*)st;
|
return (const FFStream*)st;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GNUC__
|
#ifdef __GNUC__
|
||||||
|
Reference in New Issue
Block a user