Signed-off-by: Paul B Mahol <[email protected]>
---
libavcodec/bytestream.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/bytestream.h b/libavcodec/bytestream.h
index 444f758..7fb0f7d 100644
--- a/libavcodec/bytestream.h
+++ b/libavcodec/bytestream.h
@@ -129,7 +129,7 @@ DEF(unsigned int, byte, 1, AV_RB8 , AV_WB8)
static av_always_inline void bytestream2_init(GetByteContext *g,
const uint8_t *buf,
- int buf_size)
+ unsigned int buf_size)
{
g->buffer = buf;
g->buffer_start = buf;
@@ -138,7 +138,7 @@ static av_always_inline void
bytestream2_init(GetByteContext *g,
static av_always_inline void bytestream2_init_writer(PutByteContext *p,
uint8_t *buf,
- int buf_size)
+ unsigned int buf_size)
{
p->buffer = buf;
p->buffer_start = buf;
--
1.7.7
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel