diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2007-03-07 09:29:44 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2007-03-07 09:29:44 +0000 |
commit | 29301573aff1f13d20ac2d1108cb5302a1a95473 (patch) | |
tree | 310e865b5fc6916562412618bb5789e086554eb9 /libavcodec/avcodec.h | |
parent | 2d0aefd62608e1cc9a804bbd4eee68e0f10c5626 (diff) | |
download | ffmpeg-29301573aff1f13d20ac2d1108cb5302a1a95473.tar.gz |
add avcodec_get_context_defaults2() / avcodec_alloc_context2() which take CodecType as an additional parameter
also mark them as NOT part of the public API yet, so we can change their argument to CodecID if we decide to do so
Originally committed as revision 8283 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r-- | libavcodec/avcodec.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index a26534a1db..aa4296d786 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -2631,6 +2631,10 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode); */ void avcodec_get_context_defaults(AVCodecContext *s); +/** THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! + * we WILL change its arguments and name a few times! */ +void avcodec_get_context_defaults2(AVCodecContext *s, enum CodecType); + /** * Allocates an AVCodecContext and sets its fields to default values. The * resulting struct can be deallocated by simply calling av_free(). @@ -2640,6 +2644,10 @@ void avcodec_get_context_defaults(AVCodecContext *s); */ AVCodecContext *avcodec_alloc_context(void); +/** THIS FUNCTION IS NOT YET PART OF THE PUBLIC API! + * we WILL change its arguments and name a few times! */ +AVCodecContext *avcodec_alloc_context2(enum CodecType); + /** * Sets the fields of the given AVFrame to default values. * |