[FFmpeg-cvslog] avformat/gxfenc: dont use a int intermediate to store in a unsigned int table
Michael Niedermayer
git at videolan.org
Sat Dec 21 14:10:32 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sat Dec 21 13:48:15 2013 +0100| [a07d4bc80a7b48f316b67523bf5f75a2702ed785] | committer: Michael Niedermayer
avformat/gxfenc: dont use a int intermediate to store in a unsigned int table
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a07d4bc80a7b48f316b67523bf5f75a2702ed785
---
libavformat/gxfenc.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 5fa5100..12031f7 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);
More information about the ffmpeg-cvslog
mailing list