projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b50ae9
)
vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer().
author
Anton Khirnov
<anton@khirnov.net>
Sun, 15 Jul 2012 09:12:10 +0000
(11:12 +0200)
committer
Anton Khirnov
<anton@khirnov.net>
Fri, 20 Jul 2012 19:09:57 +0000
(21:09 +0200)
libavfilter/vsrc_testsrc.c
patch
|
blob
|
history
diff --git
a/libavfilter/vsrc_testsrc.c
b/libavfilter/vsrc_testsrc.c
index
c8e1aa6
..
f2bbbac
100644
(file)
--- a/
libavfilter/vsrc_testsrc.c
+++ b/
libavfilter/vsrc_testsrc.c
@@
-143,10
+143,9
@@
static int request_frame(AVFilterLink *outlink)
test->nb_frame++;
test->fill_picture_fn(outlink->src, picref);
- ff_start_frame(outlink,
avfilter_ref_buffer(picref, ~0)
);
- ff_draw_slice(outlink, 0,
picref->video
->h, 1);
+ ff_start_frame(outlink,
picref
);
+ ff_draw_slice(outlink, 0,
test
->h, 1);
ff_end_frame(outlink);
- avfilter_unref_buffer(picref);
return 0;
}