diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2006-11-11 19:37:21 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2006-11-11 19:37:21 +0000 |
commit | faf7cbf11083e262c15bd4985fc1d7d63dcf1f97 (patch) | |
tree | 9f1a9804afa3e699deef8d0f02c3cdc3dc2700ce /libavformat/utils.c | |
parent | 568ad81b1afb23b1b31bd3ebce04700e5664d422 (diff) | |
download | ffmpeg-faf7cbf11083e262c15bd4985fc1d7d63dcf1f97.tar.gz |
nut simple seeking first try
Originally committed as revision 6968 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/utils.c')
-rw-r--r-- | libavformat/utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/utils.c b/libavformat/utils.c index 78974c7e74..d26a4057ce 100644 --- a/libavformat/utils.c +++ b/libavformat/utils.c @@ -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; |