提交 2793096f 编写于 作者: L Luca Abeni

Fix a corner case in sws emulation

Originally committed as revision 5827 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 07bf2af8
......@@ -756,6 +756,9 @@ int sws_scale(struct SwsContext *ctx, uint8_t* src[], int srcStride[],
res = -1;
goto the_end;
}
} else if (resampled_picture != &dst_pict) {
img_copy(&dst_pict, resampled_picture, current_pix_fmt,
ctx->resampling_ctx->owidth, ctx->resampling_ctx->oheight);
}
the_end:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册