mirror of
https://github.com/nyanmisaka/ffmpeg-rockchip.git
synced 2026-01-24 02:21:11 +01: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue