Commit 185d0acd authored by Andreas Rheinhardt's avatar Andreas Rheinhardt

avformat/internal: Avoid casting const away

Fixes many warnings when using -Wcast-qual.
Reviewed-by: 's avatarTomas Härdin <git@haerdin.se>
Signed-off-by: 's avatarAndreas Rheinhardt <andreas.rheinhardt@outlook.com>
parent 5f8c113b
......@@ -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__
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment