mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-29 10:52:20 +00:00
avformat/aviobuf: Extend ffio_fill to 64bits
Reviewed-by: Paul B Mahol <onemda@gmail.com> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
874f03fae7
commit
a46e78d5b7
@ -100,7 +100,7 @@ void ffio_init_context(FFIOContext *s,
|
||||
*/
|
||||
int ffio_read_indirect(AVIOContext *s, unsigned char *buf, int size, const unsigned char **data);
|
||||
|
||||
void ffio_fill(AVIOContext *s, int b, int count);
|
||||
void ffio_fill(AVIOContext *s, int b, int64_t count);
|
||||
|
||||
static av_always_inline void ffio_wfourcc(AVIOContext *pb, const uint8_t *s)
|
||||
{
|
||||
|
@ -201,7 +201,7 @@ void avio_w8(AVIOContext *s, int b)
|
||||
flush_buffer(s);
|
||||
}
|
||||
|
||||
void ffio_fill(AVIOContext *s, int b, int count)
|
||||
void ffio_fill(AVIOContext *s, int b, int64_t count)
|
||||
{
|
||||
while (count > 0) {
|
||||
int len = FFMIN(s->buf_end - s->buf_ptr, count);
|
||||
|
Loading…
Reference in New Issue
Block a user