lavc/crystalhd: remove now unecessary buffer_hints.

pull/12/merge
Clément Bœsch 12 years ago
parent 1ec94b0f06
commit 20dab078e6
  1. 2
      libavcodec/crystalhd.c

@ -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;

Loading…
Cancel
Save