Added buffer hints, replaced printf with av_log Originally committed as revision 2723 to svn://svn.ffmpeg.org/ffmpeg/trunk
Originally committed as revision 2519 to svn://svn.ffmpeg.org/ffmpeg/trunk