Skip to content

Commit

Permalink
avcodec/cuvid: fix compilation with msvc11
Browse files Browse the repository at this point in the history
  • Loading branch information
BtbN committed Dec 12, 2016
1 parent 9d06889 commit bea4da6
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libavcodec/cuvid.c
Expand Up @@ -288,8 +288,9 @@ static int CUDAAPI cuvid_handle_picture_display(void *opaque, CUVIDPARSERDISPINF
{
AVCodecContext *avctx = opaque;
CuvidContext *ctx = avctx->priv_data;
CuvidParsedFrame parsed_frame = { *dispinfo, 0, 0 };
CuvidParsedFrame parsed_frame = { { 0 } };

parsed_frame.dispinfo = *dispinfo;
ctx->internal_error = 0;

if (ctx->deint_mode == cudaVideoDeinterlaceMode_Weave) {
Expand Down

0 comments on commit bea4da6

Please sign in to comment.