Commit 20dab078 authored by Clément Bœsch's avatar Clément Bœsch

lavc/crystalhd: remove now unecessary buffer_hints.

parent 1ec94b0f
......@@ -639,8 +639,6 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
priv->need_second_field = interlaced && !priv->need_second_field;
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, AV_GET_BUFFER_FLAG_REF) < 0)
return RET_ERROR;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment