diff options
Diffstat (limited to 'libavcodec/crystalhd.c')
-rw-r--r-- | libavcodec/crystalhd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c index e2596a29e1..3e9b62bf81 100644 --- a/libavcodec/crystalhd.c +++ b/libavcodec/crystalhd.c @@ -643,7 +643,7 @@ static inline CopyRet copy_frame(AVCodecContext *avctx, priv->pic.buffer_hints = FF_BUFFER_HINTS_VALID | FF_BUFFER_HINTS_PRESERVE | FF_BUFFER_HINTS_REUSABLE; if (!priv->pic.data[0]) { - if (ff_get_buffer(avctx, &priv->pic) < 0) { + if (ff_get_buffer(avctx, &priv->pic, 0) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); return RET_ERROR; } |