[FFmpeg-devel] [PATCH] lavfi: remove redundant definition of avfilter_copy_frame_props() in avfilter.h
Stefano Sabatini
stefasab at gmail.com
Wed Dec 28 13:53:22 CET 2011
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.
---
libavfilter/avfilter.h | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
diff --git a/libavfilter/avfilter.h b/libavfilter/avfilter.h
index ba8b9dc..3c54f67 100644
--- a/libavfilter/avfilter.h
+++ b/libavfilter/avfilter.h
@@ -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 */
--
1.7.5.4
More information about the ffmpeg-devel
mailing list