Browse Source

avcodec/nvenc: use frame size instead of surface size

tags/n3.2
Timo Rothenpieler 9 years ago
parent
commit
8ebe1dddfb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/nvenc.c

+ 1
- 1
libavcodec/nvenc.c View File

@@ -1311,7 +1311,7 @@ static int nvenc_copy_frame(AVCodecContext *avctx, NvencSurface *nv_surface,

av_image_copy(dst_data, dst_linesize,
(const uint8_t**)frame->data, frame->linesize, frame->format,
nv_surface->width, nv_surface->height);
avctx->width, avctx->height);

return 0;
}


Loading…
Cancel
Save