On Tue, Nov 24, 2015 at 4:05 AM, Clément Bœsch <u...@pkh.me> wrote: > On Mon, Nov 23, 2015 at 06:56:34PM -0500, Vittorio Giovara wrote: > [...] >> if (length < 1) { >> av_free(encode_buf); >> - return -1; >> + return length; > > if length=0 is this the wanted behaviour?
Probably not, I'll amend as AVERROR_INVALIDDATA Thanks -- Vittorio _______________________________________________ libav-devel mailing list libav-devel@libav.org https://lists.libav.org/mailman/listinfo/libav-devel