Call this new function before decode() to replace the custom and inconsistant initialization in various decoders. This function is equivalent to avcodec_get_frame_defaults() for AVFrame. Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Mans Rullgard <mans@mansr.com>
Signed-off-by: Janne Grunau <janne-ffmpeg@jannau.net>
Originally committed as revision 26119 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25747 to svn://svn.ffmpeg.org/ffmpeg/trunk