<div>
<pre>I have an <span style="color: #800080;">AVFormatContext</span> that I need to seek in. I've been using <span style="color: #00677c;">av_seek_frame</span>(), but so far have not been passing the AVSEEK_FLAG_BACKWARD flag because I don't know how to figure out whether I need to seek forward or backwards. Is there a way to query this from the AVFormatContext?<br /><br />Mark</pre>
</div>