OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c172913
)
Add buffer hints, enable DR1
author
Roberto Togni
<r_togni@tiscali.it>
Sun, 2 May 2004 20:01:39 +0000
(20:01 +0000)
committer
Roberto Togni
<r_togni@tiscali.it>
Sun, 2 May 2004 20:01:39 +0000
(20:01 +0000)
Originally committed as revision 3104 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/cyuv.c
patch
|
blob
|
history
diff --git
a/libavcodec/cyuv.c
b/libavcodec/cyuv.c
index
70b5506
..
aee2bc5
100644
(file)
--- a/
libavcodec/cyuv.c
+++ b/
libavcodec/cyuv.c
@@
-100,6
+100,7
@@
static int cyuv_decode_frame(AVCodecContext *avctx,
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
@@
AVCodec cyuv_decoder = {
NULL,
cyuv_decode_end,
cyuv_decode_frame,
-
0
,
+
CODEC_CAP_DR1
,
NULL
};