James Almer (2018-11-14): > - res = dav1d_decode(dav1d->c, data, &p); > + res = dav1d_send_data(dav1d->c, data); > + if (res < 0) { > + if (res == -EINVAL) > + res = AVERROR_INVALIDDATA; > + if (res != -EAGAIN) > + return res; > + } > + > + res = dav1d_get_picture(dav1d->c, &p);
I just noticed this: the lack of AVERROR() looks very suspicious. It seems this library uses directly -errno values, which will coincide with AVERROR() on most systems but not all. Regards, -- Nicolas George
signature.asc
Description: Digital signature
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel