mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 05:00:37 +00:00
avformat/gxfenc: dont use a int intermediate to store in a unsigned int table
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
587e3c3426
commit
a07d4bc80a
@ -949,7 +949,7 @@ static int gxf_write_packet(AVFormatContext *s, AVPacket *pkt)
|
|||||||
AVStream *st = s->streams[pkt->stream_index];
|
AVStream *st = s->streams[pkt->stream_index];
|
||||||
int64_t pos = avio_tell(pb);
|
int64_t pos = avio_tell(pb);
|
||||||
int padding = 0;
|
int padding = 0;
|
||||||
int packet_start_offset = avio_tell(pb) / 1024;
|
unsigned packet_start_offset = avio_tell(pb) / 1024;
|
||||||
int ret;
|
int ret;
|
||||||
|
|
||||||
gxf_write_packet_header(pb, PKT_MEDIA);
|
gxf_write_packet_header(pb, PKT_MEDIA);
|
||||||
|
Loading…
Reference in New Issue
Block a user