[FFmpeg-devel] [PATCH] avcodec: add RPZA encoder

Paul B Mahol onemda at gmail.com
Fri Aug 21 11:29:16 EEST 2020


On 7/19/20, James Almer <jamrial at 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 at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".


More information about the ffmpeg-devel mailing list