You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-15 14:13:16 +02: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:
@@ -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);
|
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)
|
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);
|
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) {
|
while (count > 0) {
|
||||||
int len = FFMIN(s->buf_end - s->buf_ptr, count);
|
int len = FFMIN(s->buf_end - s->buf_ptr, count);
|
||||||
|
Reference in New Issue
Block a user