mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-12 01:40:04 +01:00
nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -404,7 +404,7 @@ int av_open_input_stream(AVFormatContext **ic_ptr,
|
||||
if (err < 0)
|
||||
goto fail;
|
||||
|
||||
if (pb)
|
||||
if (pb && !ic->data_offset)
|
||||
ic->data_offset = url_ftell(&ic->pb);
|
||||
|
||||
*ic_ptr = ic;
|
||||
|
||||
Reference in New Issue
Block a user