[FFmpeg-devel] [PATCH v6 1/2] ffmpeg: Add display_{rotation, hflip, vflip} options
Anton Khirnov
anton at khirnov.net
Mon Oct 17 16:01:13 EEST 2022
Quoting Thilo Borgmann (2022-10-15 12:27:54)
>
> av_stream_new_side_data() returns uint8_t*.
>
> So it is either add a cast to if(...) or two casts to av_display_...().
Better to have one cast than two.
(I also prefer to avoid assignments inside conditions, but not going to
bitch about this very strongly now)
--
Anton Khirnov
More information about the ffmpeg-devel
mailing list