Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() inste...
authorTomas Härdin <tomas.hardin@codemill.se>
Thu, 8 Apr 2010 09:02:27 +0000 (09:02 +0000)
committerTomas Härdin <tomas.hardin@codemill.se>
Thu, 8 Apr 2010 09:02:27 +0000 (09:02 +0000)
commit01d91b9be978753803fa6f5e73b17ab9f03a5c7b
tree35a484f2b8a8da202fdf2c815f41f8f9d14053d7
parentba659bedb806cb4a1dd375f723a2b0017d6afb33
Reusing the probe buffer to rewind the ByteIOContext in ff_probe_input_buffer() instead of seeking back to the start of the file. Once exhausted, the size of the buffer is reduced.

Originally committed as revision 22821 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/avio.h
libavformat/aviobuf.c
libavformat/utils.c