diff options
author | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-12 18:59:05 +0100 |
---|---|---|
committer | Andreas Rheinhardt <andreas.rheinhardt@outlook.com> | 2025-03-15 02:30:56 +0100 |
commit | 44ed8f61d7aa1345d7bd3dad8b5fbf547432fe48 (patch) | |
tree | fc647c8334453895f331a4dc6f5cf7b895400e38 /libavcodec/x86/hevc/dsp_init.c | |
parent | ae84aa775fa789c68e5e3a01b1b313acd901fad8 (diff) | |
download | ffmpeg-44ed8f61d7aa1345d7bd3dad8b5fbf547432fe48.tar.gz |
avcodec/aom_film_grain: Cast const away to suppress compiler warning
av_frame_side_data_add() typically takes ownership of
the provided AVBufferRef reference and therefore
uses a parameter of type AVBufferRef**; yet with
the AV_FRAME_SIDE_DATA_FLAG_NEW_REF, it creates
new references instead, without touching the given
reference. Therefore it is safe to cast const away.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
Diffstat (limited to 'libavcodec/x86/hevc/dsp_init.c')
0 files changed, 0 insertions, 0 deletions