summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-25 16:59:51 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-13 23:17:42 +0200
commit3009f521f390b2bd440d9747a9c6baf648b2087a (patch)
treee4bb7ff1c0a7f595b1e29a0b6bc92fd2bb91b086 /cmdutils.h
parent8c8eab8bfed74cceb4a04f982f349c7c17f5eb6f (diff)
ffplay: use new avcodec_open2 and avformat_find_stream_info API.
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h
index c581160318..ae512b0f1a 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -156,6 +156,11 @@ void set_context_opts(void *ctx, void *opts_ctx, int flags, AVCodec *codec);
*/
AVDictionary *filter_codec_opts(AVDictionary *opts, enum CodecID codec_id, int encoder);
+/*
+ * Setup AVCodecContext options for avformat_find_stream_info.
+ */
+AVDictionary **setup_find_stream_info_opts(AVFormatContext *s);
+
/**
* Print an error message to stderr, indicating filename and a human
* readable description of the error code err.