mirror of https://git.ffmpeg.org/ffmpeg.git
avformat: fix orig_pos type to match pkt->pos
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
7a617d6c17
commit
ad56535dd1
|
@ -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…
Reference in New Issue