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>
Originally committed as revision 26119 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25832 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 25747 to svn://svn.ffmpeg.org/ffmpeg/trunk