Mercurial > libavcodec.hg
changeset 2000:86220e37a31e libavcodec
Add buffer hints, enable DR1
author | rtognimp |
---|---|
date | Sun, 02 May 2004 20:01:39 +0000 |
parents | 18d5eb75ae71 |
children | 7523553ca85f |
files | cyuv.c |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/cyuv.c Sun May 02 19:18:20 2004 +0000 +++ b/cyuv.c Sun May 02 20:01:39 2004 +0000 @@ -100,6 +100,7 @@ if(s->frame.data[0]) avctx->release_buffer(avctx, &s->frame); + s->frame.buffer_hints = FF_BUFFER_HINTS_VALID; s->frame.reference = 0; if(avctx->get_buffer(avctx, &s->frame) < 0) { av_log(avctx, AV_LOG_ERROR, "get_buffer() failed\n"); @@ -180,7 +181,7 @@ NULL, cyuv_decode_end, cyuv_decode_frame, - 0, + CODEC_CAP_DR1, NULL };