On Sun, 19 Jan 2020 at 11:52, Nicolas George <[email protected]> wrote:
> Jonathan Noble (12020-01-19): > > I'm writing a wrapper around libav. > > https://github.com/jonno85uk/mediahandling/tree/Issue4_encoding > > I know what was causing this condition, avformat_write_header() hadn't > > been called at that time. > > Calling avformat_write_header() is not optional, writing frames before > it is not supported. 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? > > For questions about the proper usage of the API, see this mailing-list: > https://ffmpeg.org/mailman/listinfo/libav-user > > Regards, > > -- > Nicolas George > _______________________________________________ > ffmpeg-devel mailing list > [email protected] > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > [email protected] with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
