[FFmpeg-devel] Segfault calling av_interleaved_write_frame

Jonathan Noble jonnobleuk at gmail.com
Mon Jan 20 11:34:27 EET 2020


On Sun, 19 Jan 2020 at 22:54, Nicolas George <george at nsup.org> wrote:

> Jonathan Noble (12020-01-19):
> > I'd gathered that, but rather than bombing out shouldn't there be a
> AVERROR
> > returned or something else to notify the user of their error, like so
> many
> > other non-optional checks in ffmpeg?
>
> No. AVERROR codes are not for errors that can be detected statically;
> these need to be fixed, period.
>
> This is not specific to FFmpeg: what do you get for calling fprintf() on
> a NULL FILE pointer?
>
I wouldn't know. I try my best not to use C.

> Regards,
>
> --
>   Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list