On 6/8/2023 11:32 PM, Anton Khirnov wrote:
Quoting Leo Izen (2023-06-08 16:26:36)
Inlines some ret < 0 checks to look like:
     if ((ret = func()) < 0)
         return ret;

which clarifies code slightly.

FWIW I find this variant less readable.
But it's your code, so up to you.

Agree. It's both less readable and more prone to mistakes.
_______________________________________________
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