avformat: don't unconditionally call ff_read_frame_flush() when trying to seek.
authorJustin Ruggles <justin.ruggles@gmail.com>
Fri, 16 Sep 2011 23:02:23 +0000 (19:02 -0400)
committerJustin Ruggles <justin.ruggles@gmail.com>
Thu, 13 Oct 2011 20:31:15 +0000 (16:31 -0400)
commit0041cdba98d5b636a8d912352dd3d8ca72bba4ce
treec0dddf4c537945786cd61e89d052b9ba49eaf91a
parentc6ac30c84b1d6a21af49b72f13ba2248e6b2844d
avformat: don't unconditionally call ff_read_frame_flush() when trying to seek.

This prevents flushing the packet buffer when the input format does not
support seeking.
libavformat/utils.c