On 7/19/20, James Almer <jamr...@gmail.com> wrote: > On 7/16/2020 11:54 AM, Paul B Mahol wrote: >> + if (!s->prev_frame->data[0]) { >> + s->first_frame = 1; >> + ret = ff_get_buffer(avctx, s->prev_frame, 0); > > This is for decoders only. Fill format, width and height on > s->prev_frame then call av_frame_get_buffer() instead.
Fixed locally. Gonna apply soon. > >> + if (ret < 0) >> + return ret; >> + } else { >> + s->first_frame = 0; >> + } > > _______________________________________________ > ffmpeg-devel mailing list > ffmpeg-devel@ffmpeg.org > https://ffmpeg.org/mailman/listinfo/ffmpeg-devel > > To unsubscribe, visit link above, or email > ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe". _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".