mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-12-16 03:50:05 +01:00
avio: add avio_tell macro as a replacement for url_ftell
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com>
This commit is contained in:
committed by
Ronald S. Bultje
parent
e16ead0716
commit
a2704c9712
@@ -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