aboutsummaryrefslogtreecommitdiffstats
path: root/cmdutils.h
diff options
context:
space:
mode:
authorStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-12 18:40:26 +0000
committerStefano Sabatini <stefano.sabatini-lala@poste.it>2010-10-12 18:40:26 +0000
commitf7ead94c69bf7b7f8ef63fbe8c869982e2bb5048 (patch)
tree7a384b92352ab755e0531699d0232728669f2a51 /cmdutils.h
parentf5b05b951c81f23c8a79f1c19b2657f85d43f93a (diff)
downloadffmpeg-f7ead94c69bf7b7f8ef63fbe8c869982e2bb5048.tar.gz
Factorize definition of the output_filter defined in both ffplay.c and
ffmpeg.c. Replace it with a more generic definition which can be shared. Originally committed as revision 25453 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 4ce62b64a8..00f914cc9b 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -261,4 +261,15 @@ void init_pts_correction(PtsCorrectionContext *ctx);
*/
int64_t guess_correct_pts(PtsCorrectionContext *ctx, int64_t pts, int64_t dts);
+#if CONFIG_AVFILTER
+#include "libavfilter/avfilter.h"
+
+typedef struct {
+ enum PixelFormat pix_fmt;
+} FFSinkContext;
+
+extern AVFilter ffsink;
+
+#endif /* CONFIG_AVFILTER */
+
#endif /* FFMPEG_CMDUTILS_H */