avcodec/cuvid: fix compilation with msvc11
This commit is contained in:
parent
62eafc6a6d
commit
00223132e9
@ -288,8 +288,9 @@ static int CUDAAPI cuvid_handle_picture_display(void *opaque, CUVIDPARSERDISPINF
|
|||||||
{
|
{
|
||||||
AVCodecContext *avctx = opaque;
|
AVCodecContext *avctx = opaque;
|
||||||
CuvidContext *ctx = avctx->priv_data;
|
CuvidContext *ctx = avctx->priv_data;
|
||||||
CuvidParsedFrame parsed_frame = { *dispinfo, 0, 0 };
|
CuvidParsedFrame parsed_frame = { { 0 } };
|
||||||
|
|
||||||
|
parsed_frame.dispinfo = *dispinfo;
|
||||||
ctx->internal_error = 0;
|
ctx->internal_error = 0;
|
||||||
|
|
||||||
if (ctx->deint_mode == cudaVideoDeinterlaceMode_Weave) {
|
if (ctx->deint_mode == cudaVideoDeinterlaceMode_Weave) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user