[FFmpeg-cvslog] lavc/crystalhd: remove now unecessary buffer_hints.

Clément Bœsch git at videolan.org
Wed Mar 13 19:11:14 CET 2013


ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Wed Mar 13 18:56:34 2013 +0100| [20dab078e6ea69c381070eb45600109d4dacac70] | committer: Clément Bœsch

lavc/crystalhd: remove now unecessary buffer_hints.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20dab078e6ea69c381070eb45600109d4dacac70
---

 libavcodec/crystalhd.c |    2 --
 1 file changed, 2 deletions(-)

diff --git a/libavcodec/crystalhd.c b/libavcodec/crystalhd.c
index d1ed84b..5dee825 100644
--- a/libavcodec/crystalhd.c
+++ b/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;



More information about the ffmpeg-cvslog mailing list