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
avoid code duplication
Originally committed as revision 7573 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer
18 years ago
parent
0726982cdb
commit
3da97cfdfc
1 changed files
with
1 additions
and
3 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-3
libavutil/fifo.c
+ 1
- 3
libavutil/fifo.c
View File
@@ -99,9 +99,7 @@ int av_fifo_generic_read(AVFifoBuffer *f, int buf_size, void (*func)(void*, void
memcpy(dest, f->rptr, len);
dest = (uint8_t*)dest + len;
}
f->rptr += len;
if (f->rptr >= f->end)
f->rptr = f->buffer;
av_fifo_drain(f, len);
buf_size -= len;
}
return 0;
Write
Preview
Loading…
Cancel
Save