OSDN Git Service

Move allocation and init to defaults of the private codec contexts to avcodec_get_con...
authorMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Sep 2010 15:05:47 +0000 (15:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Wed, 29 Sep 2010 15:05:47 +0000 (15:05 +0000)
commitdc51a72ba45fbefb9f1c6c3ca5a5b2388d69b2da
treefb90f0690489553fcefda116b43f866ea9a8ebbe
parentcd17285e6cecefbeb286adbba881eb26dbabec29
Move allocation and init to defaults of the private codec contexts to avcodec_get_context_defaults3().
That way the user app can set codec specific parameters in the private context
before opening it.

Originally committed as revision 25257 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/avcodec.h
libavcodec/options.c
libavcodec/utils.c