[FFmpeg-devel] [PATCH] "assert(a && b)" --> "assert(a); assert(b)" for more precise diagnostics, except for libformat

Adam Richter adamrichter4 at gmail.com
Sun May 12 18:24:11 EEST 2019


This patch separates statements of the form "assert(a && b);" into
"assert(a);" and "assert(b);", typically involving an assertion
function like av_assert0.

This patch covers all of ffmpeg, except for the libavformat, which I
have already submitted separately.

I have not tested this patch other than observing that ffmpeg still
builds without any apparent new complaints, that no complaints in the
build contain "assert", and that "make fate" seems to succeed.

Thanks in advance for considering the attached patch.

Adam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-assert-a-b-assert-a-assert-b-for-more-precise-diagno.patch
Type: text/x-patch
Size: 101344 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20190512/c4fa1d09/attachment.bin>


More information about the ffmpeg-devel mailing list