Browse Source

avformat: fix orig_pos type to match pkt->pos

Signed-off-by: Paul B Mahol <onemda@gmail.com>
tags/n2.0
Paul B Mahol 12 years ago
parent
commit
ad56535dd1
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/utils.c

+ 1
- 1
libavformat/utils.c View File

@@ -284,7 +284,7 @@ int ffio_limit(AVIOContext *s, int size)
*/ */
static int append_packet_chunked(AVIOContext *s, AVPacket *pkt, 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 orig_size = pkt->size;
int ret; int ret;




Loading…
Cancel
Save