diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-12-21 13:48:15 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-12-21 13:52:10 +0100 |
commit | a07d4bc80a7b48f316b67523bf5f75a2702ed785 (patch) | |
tree | 1831da5afb2b783efb554a3c6b81286c43a86189 /libavformat/gxfenc.c | |
parent | 587e3c3426be5f3a457c0c6542e70014e7f58402 (diff) | |
download | ffmpeg-a07d4bc80a7b48f316b67523bf5f75a2702ed785.tar.gz |
avformat/gxfenc: dont use a int intermediate to store in a unsigned int table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r-- | libavformat/gxfenc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index 5fa510057d..12031f7cd9 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -949,7 +949,7 @@ static int gxf_write_packet(AVFormatContext *s, AVPacket *pkt) AVStream *st = s->streams[pkt->stream_index]; int64_t pos = avio_tell(pb); int padding = 0; - int packet_start_offset = avio_tell(pb) / 1024; + unsigned packet_start_offset = avio_tell(pb) / 1024; int ret; gxf_write_packet_header(pb, PKT_MEDIA); |