avformat: fix orig_pos type to match pkt->pos

Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
Paul B Mahol 2013-04-23 13:53:49 +00:00
parent 7a617d6c17
commit ad56535dd1
1 changed files with 1 additions and 1 deletions

View File

@ -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;