[FFmpeg-devel] Segfault calling av_interleaved_write_frame

Nicolas George george at nsup.org
Mon Jan 20 00:54:46 EET 2020


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?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200119/23327089/attachment.sig>


More information about the ffmpeg-devel mailing list