mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
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
Block a user