summaryrefslogtreecommitdiff
path: root/libavcodec/nvenc.h
diff options
context:
space:
mode:
authorTimo Rothenpieler <timo@rothenpieler.org>2016-09-07 18:15:22 +0200
committerTimo Rothenpieler <timo@rothenpieler.org>2016-09-07 18:44:10 +0200
commitfa3ecad071aadec810fe7fc8e74865778e477c5e (patch)
treee114efa33dac7b83f67c989846bb70f4b8406fc7 /libavcodec/nvenc.h
parent96cba1c5524eb0cc1395aa7586e4c3b25092a7ec (diff)
avcodec/nvenc: correctly set inputPitch
Diffstat (limited to 'libavcodec/nvenc.h')
-rw-r--r--libavcodec/nvenc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/nvenc.h b/libavcodec/nvenc.h
index c57f1ae524..521902c77d 100644
--- a/libavcodec/nvenc.h
+++ b/libavcodec/nvenc.h
@@ -56,6 +56,7 @@ typedef struct NvencSurface
int reg_idx;
int width;
int height;
+ int pitch;
NV_ENC_OUTPUT_PTR output_surface;
NV_ENC_BUFFER_FORMAT format;