diff options
Diffstat (limited to 'libavformat/sierravmd.c')
-rw-r--r-- | libavformat/sierravmd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/sierravmd.c b/libavformat/sierravmd.c index b1484b5605..152b4fb8f7 100644 --- a/libavformat/sierravmd.c +++ b/libavformat/sierravmd.c @@ -269,6 +269,7 @@ static int vmd_read_packet(AVFormatContext *s, if (av_new_packet(pkt, frame->frame_size + BYTES_PER_FRAME_RECORD)) return AVERROR_NOMEM; + pkt->pos= url_ftell(pb); memcpy(pkt->data, frame->frame_record, BYTES_PER_FRAME_RECORD); ret = get_buffer(pb, pkt->data + BYTES_PER_FRAME_RECORD, frame->frame_size); |