mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> (cherry picked from commit a2704c9712ad35cc22e7e0d8a79b581c07fa383b)
This commit is contained in:

committed by
Michael Niedermayer

parent
773947ba76
commit
384c9c2fa7
2
ffplay.c
2
ffplay.c
@ -2809,7 +2809,7 @@ static void event_loop(void)
|
||||
}else if(cur_stream->audio_stream >= 0 && cur_stream->audio_pkt.pos>=0){
|
||||
pos= cur_stream->audio_pkt.pos;
|
||||
}else
|
||||
pos = url_ftell(cur_stream->ic->pb);
|
||||
pos = avio_tell(cur_stream->ic->pb);
|
||||
if (cur_stream->ic->bit_rate)
|
||||
incr *= cur_stream->ic->bit_rate / 8.0;
|
||||
else
|
||||
|
Reference in New Issue
Block a user