mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-23 19:30:05 +00:00
lavc/crystalhd: remove now unecessary buffer_hints.
This commit is contained in:
parent
1ec94b0f06
commit
20dab078e6
@ -639,8 +639,6 @@ static inline CopyRet copy_frame(AVCodecContext *avctx,
|
|||||||
|
|
||||||
priv->need_second_field = interlaced && !priv->need_second_field;
|
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 (!priv->pic->data[0]) {
|
||||||
if (ff_get_buffer(avctx, priv->pic, AV_GET_BUFFER_FLAG_REF) < 0)
|
if (ff_get_buffer(avctx, priv->pic, AV_GET_BUFFER_FLAG_REF) < 0)
|
||||||
return RET_ERROR;
|
return RET_ERROR;
|
||||||
|
Loading…
Reference in New Issue
Block a user