Fixes many warnings when using -Wcast-qual.
Unified · Split
| @@ -418,7 +418,7 @@ static av_always_inline FFStream *ffstream(AVStream *st) · 417 unmodified lines | ||
| 418 | 418 | |
| 419 | 419 | static av_always_inline const FFStream *cffstream(const AVStream *st) |
| 420 | 420 | { |
| 421 | − return (FFStream*)st; | |
| 421 | + return (const FFStream*)st; | |
| 422 | 422 | } |
| 423 | 423 | |
| 424 | 424 | #ifdef __GNUC__ |