diff mbox series

[FFmpeg-devel] dxva2: debug the mismatching buffer sizes

Message ID 20200313101420.15100-1-robux4@ycbcr.xyz
State New
Headers show
Series [FFmpeg-devel] dxva2: debug the mismatching buffer sizes
Related show

Checks

Context Check Description
andriy/ffmpeg-patchwork pending
andriy/ffmpeg-patchwork success Applied patch
andriy/ffmpeg-patchwork success Configure finished
andriy/ffmpeg-patchwork success Make finished
andriy/ffmpeg-patchwork success Make fate finished

Commit Message

Steve Lhomme March 13, 2020, 10:14 a.m. UTC
---
 libavcodec/dxva2.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/libavcodec/dxva2.c b/libavcodec/dxva2.c
index 32416112bf..6add893f3e 100644
--- a/libavcodec/dxva2.c
+++ b/libavcodec/dxva2.c
@@ -840,7 +840,7 @@  int ff_dxva2_commit_buffer(AVCodecContext *avctx,
 
         result = 0;
     } else {
-        av_log(avctx, AV_LOG_ERROR, "Buffer for type %u was too small\n", type);
+        av_log(avctx, AV_LOG_ERROR, "Buffer for type %u was too small (got %u, need %u)\n", type, dxva_size, size);
         result = -1;
     }