This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
negative to_pad won't provoke infinite loop
Originally committed as revision 5879 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Baptiste Coudurier
19 years ago
parent
3068f1c813
commit
0e15b7b0dd
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavformat/gxfenc.c
+ 1
- 1
libavformat/gxfenc.c
View File
@@ -117,7 +117,7 @@ static int gxf_find_lines_index(GXFStreamContext *ctx)
static void gxf_write_padding(ByteIOContext *pb, offset_t to_pad)
{
while (
to_pad--) {
for (; to_pad > 0;
to_pad--) {
put_byte(pb, 0);
}
}
Write
Preview
Loading…
Cancel
Save