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
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to