[FFmpeg-cvslog] lavfi: remove redundant definition of avfilter_copy_frame_props() in avfilter.h

Stefano Sabatini git at videolan.org
Sat Dec 31 11:46:01 CET 2011


ffmpeg | branch: master | Stefano Sabatini <stefasab at gmail.com> | Tue Dec 27 15:12:29 2011 +0100| [549b53e8cbc45d20a52a90a181d40d86c751585d] | committer: Stefano Sabatini

lavfi: remove redundant definition of avfilter_copy_frame_props() in avfilter.h

Rationale: avfilter_copy_frame_props() was already defined in
libavfilter/avcodec.h, and keeping the lavc/lavfi API glue localized in a
specific file should ease maintainance and help the ones which use
libavfilter without depending on libavcodec.

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

 libavfilter/avfilter.h |   10 +---------
 1 files changed, 1 insertions(+), 9 deletions(-)

diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index ba8b9dc..fb2ce2b 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -31,7 +31,7 @@
 
 #define LIBAVFILTER_VERSION_MAJOR  2
 #define LIBAVFILTER_VERSION_MINOR 55
-#define LIBAVFILTER_VERSION_MICRO 100
+#define LIBAVFILTER_VERSION_MICRO 101
 
 #define LIBAVFILTER_VERSION_INT AV_VERSION_INT(LIBAVFILTER_VERSION_MAJOR, \
                                                LIBAVFILTER_VERSION_MINOR, \
@@ -954,12 +954,4 @@ static inline void avfilter_insert_outpad(AVFilterContext *f, unsigned index,
                         &f->output_pads, &f->outputs, p);
 }
 
-/**
- * Copy the frame properties of src to dst, without copying the actual
- * image data.
- *
- * @return 0 on success, a negative number on error.
- */
-int avfilter_copy_frame_props(AVFilterBufferRef *dst, const AVFrame *src);
-
 #endif /* AVFILTER_AVFILTER_H */



More information about the ffmpeg-cvslog mailing list