+ if (in[i]->linesize[0] != out->linesize[0]) { + AVFrame *aligned = ff_default_get_video_buffer2(outlink, outlink->w, outlink->h, 1); + ret = av_frame_copy(aligned, in[i]); + copies |= 1 << i; + in[i] = aligned; + goto end; + }
This of course needs to be "if (ret < 0) goto end;", which I missed during review/testing. I'll amend the FATE tests to cover this code path.
- Stefan _______________________________________________ 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".