[FFmpeg-devel] [PATCH] avutil/frame: add av_warn_unused_result

Michael Niedermayer michael at niedermayer.cc
Fri Oct 30 11:01:36 CET 2015


On Thu, Oct 15, 2015 at 07:47:47PM -0400, Ganesh Ajjanagadde wrote:
> This is going to trigger a lot of warnings all over the place that need
> fixing. Main culprits are in avfilter, when one tries to copy a frame
> without checking whether src and dest formats actually are compatible.

if a filter allocated both source and destination itself with the
same parameters then i think it does not need to check if copy fails

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

The worst form of inequality is to try to make unequal things equal.
-- Aristotle
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20151030/9913ce72/attachment.sig>


More information about the ffmpeg-devel mailing list