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
@ -247,7 +247,7 @@ static int vmd_read_packet(AVFormatContext *s,
|
||||
|
||||
if (av_new_packet(pkt, frame->frame_size + BYTES_PER_FRAME_RECORD))
|
||||
return AVERROR(ENOMEM);
|
||||
pkt->pos= url_ftell(pb);
|
||||
pkt->pos= avio_tell(pb);
|
||||
memcpy(pkt->data, frame->frame_record, BYTES_PER_FRAME_RECORD);
|
||||
if(vmd->is_indeo3)
|
||||
ret = avio_read(pb, pkt->data, frame->frame_size);
|
||||
|
Reference in New Issue
Block a user