Commit ad56535d authored by Paul B Mahol's avatar Paul B Mahol

avformat: fix orig_pos type to match pkt->pos

Signed-off-by: 's avatarPaul B Mahol <onemda@gmail.com>
parent 7a617d6c
......@@ -284,7 +284,7 @@ int ffio_limit(AVIOContext *s, int size)
*/
static int append_packet_chunked(AVIOContext *s, AVPacket *pkt, int size)
{
int orig_pos = pkt->pos; // av_grow_packet might reset pos
int64_t orig_pos = pkt->pos; // av_grow_packet might reset pos
int orig_size = pkt->size;
int ret;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment