summaryrefslogtreecommitdiffstats
path: root/common/av_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common/av_common.h')
-rw-r--r--common/av_common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/common/av_common.h b/common/av_common.h
index 4b13dcdd0c..1d30fab71f 100644
--- a/common/av_common.h
+++ b/common/av_common.h
@@ -31,8 +31,9 @@ struct AVDictionary;
struct mp_log;
int mp_lavc_set_extradata(AVCodecContext *avctx, void *ptr, int size);
-void mp_copy_lav_codec_headers(AVCodecContext *avctx, AVCodecContext *st);
-void mp_set_lav_codec_headers(AVCodecContext *avctx, struct mp_codec_params *c);
+enum AVMediaType mp_to_av_stream_type(int type);
+AVCodecParameters *mp_codec_params_to_av(struct mp_codec_params *c);
+int mp_set_avctx_codec_headers(AVCodecContext *avctx, struct mp_codec_params *c);
AVRational mp_get_codec_timebase(struct mp_codec_params *c);
void mp_set_av_packet(AVPacket *dst, struct demux_packet *mpkt, AVRational *tb);
int64_t mp_pts_to_av(double mp_pts, AVRational *tb);