[FFmpeg-devel] [PATCH] avfilter/transform: add av_warn_unused_result to avfilter_transform

Ganesh Ajjanagadde gajjanag at mit.edu
Fri Oct 16 23:09:56 CEST 2015


On Fri, Oct 16, 2015 at 11:32 AM, Michael Niedermayer
<michael at niedermayer.cc> wrote:
> On Thu, Oct 15, 2015 at 05:27:44PM -0400, Ganesh Ajjanagadde wrote:
>> This adds av_warn_unused_result to avfilter_transform to trigger
>> warnings for non-checked return codes, currently none.
>>
>> Signed-off-by: Ganesh Ajjanagadde <gajjanagadde at gmail.com>
>> ---
>>  libavfilter/transform.h | 1 +
>>  1 file changed, 1 insertion(+)
>
> only possible return code is EINVAL it seems so "not checking" the
> return seems valid if one ensures the arguments are ok

ok, patch dropped.
>
> [...]
> --
> Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
>
> Observe your enemies, for they first find out your faults. -- Antisthenes
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list