diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-07-21 22:19:19 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-07-21 22:20:49 +0200 |
commit | 9e1508f1e7a21aab9c25614c03d726e400c5691c (patch) | |
tree | 1450ec6130c71c5d1867b43c5333b0afc2e62212 /libavfilter/avfilter.h | |
parent | f7e0c1854950b072dce4aa21053c1a344bf76c72 (diff) | |
parent | 4c9080a7ef18ad71fb0a75c8d1c1803edd780edd (diff) | |
download | ffmpeg-9e1508f1e7a21aab9c25614c03d726e400c5691c.tar.gz |
Merge remote-tracking branch 'qatar/master'
* qatar/master:
lavfi: unref AVFilterLink.out_buf in ff_end_frame().
lavfi: unref AVFilterLink.cur_buf in ff_end_frame().
vsrc_testsrc: avoid an unnecessary avfilter_ref_buffer().
vf_slicify: clear AVFilterLink.cur_buf in start_frame().
vf_settb: simplify start_frame().
vf_fieldorder: don't give up its own reference to the output buffer.
vf_pad: don't give up its own reference to the output buffer.
vf_overlay: don't access a buffer reference that's been given away.
vf_drawtext: don't give up its own reference to the input buffer.
vf_gradfun: don't store two pointers to one AVFilterBufferRef.
vf_delogo: don't store two pointers to one AVFilterBufferRef.
vf_aspect: clear AVFilterLink.cur_buf in start_frame().
lavfi: add avfilter_unref_bufferp()
Conflicts:
doc/APIchanges
libavfilter/avfilter.h
libavfilter/buffer.c
libavfilter/vf_aspect.c
libavfilter/vf_drawtext.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavfilter/avfilter.h')
-rw-r--r-- | libavfilter/avfilter.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h index f039c1e228..4d3a7a82d1 100644 --- a/libavfilter/avfilter.h +++ b/libavfilter/avfilter.h @@ -196,6 +196,9 @@ AVFilterBufferRef *avfilter_ref_buffer(AVFilterBufferRef *ref, int pmask); * buffer, the buffer itself is also automatically freed. * * @param ref reference to the buffer, may be NULL + * + * @note it is recommended to use avfilter_unref_bufferp() instead of this + * function */ void avfilter_unref_buffer(AVFilterBufferRef *ref); @@ -208,7 +211,6 @@ void avfilter_unref_buffer(AVFilterBufferRef *ref); */ void avfilter_unref_bufferp(AVFilterBufferRef **ref); - #if FF_API_AVFILTERPAD_PUBLIC /** * A filter pad used for either input or output. |