Mercurial > mplayer.hg
diff av_helpers.h @ 36334:c1033e9288b1
Extract audio encoding code into a separate helper function.
author | reimar |
---|---|
date | Sun, 25 Aug 2013 11:30:43 +0000 |
parents | 5f1faa91717e |
children |
line wrap: on
line diff
--- a/av_helpers.h Sun Aug 25 11:30:42 2013 +0000 +++ b/av_helpers.h Sun Aug 25 11:30:43 2013 +0000 @@ -21,7 +21,10 @@ #ifndef MPLAYER_AV_HELPERS_H #define MPLAYER_AV_HELPERS_H +struct AVCodecContext; + void init_avcodec(void); void init_avformat(void); +int lavc_encode_audio(struct AVCodecContext *ctx, void *src, int src_len, void *dst, int dst_len); #endif /* MPLAYER_AV_HELPERS_H */