Browse Source

avformat/gxfenc: dont use a int intermediate to store in a unsigned int table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.2-rc1
Michael Niedermayer 12 years ago
parent
commit
a07d4bc80a
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/gxfenc.c

+ 1
- 1
libavformat/gxfenc.c View File

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


Loading…
Cancel
Save