diff options
author | Timo Rothenpieler <timo@rothenpieler.org> | 2016-12-12 11:44:36 +0100 |
---|---|---|
committer | Timo Rothenpieler <timo@rothenpieler.org> | 2016-12-12 13:09:55 +0100 |
commit | 00223132e9660acd50478bd9e709b72c605ee6da (patch) | |
tree | dd9756a5484cfae8140e5ada5fe920e9cc8aef2d | |
parent | 62eafc6a6dd8c51d6ecabdb3d649043950c4f01b (diff) | |
download | ffmpeg-00223132e9660acd50478bd9e709b72c605ee6da.tar.gz |
avcodec/cuvid: fix compilation with msvc11
-rw-r--r-- | libavcodec/cuvid.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavcodec/cuvid.c b/libavcodec/cuvid.c index 94606a9b02..8fc713d081 100644 --- a/libavcodec/cuvid.c +++ b/libavcodec/cuvid.c @@ -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) { |