aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/targa.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/targa.c')
-rw-r--r--libavcodec/targa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/targa.c b/libavcodec/targa.c
index 6bb05a93ad..18ad21d036 100644
--- a/libavcodec/targa.c
+++ b/libavcodec/targa.c
@@ -267,7 +267,7 @@ static int decode_frame(AVCodecContext *avctx,
line = dst;
y = 0;
do {
- bytestream2_get_bufferu(&s->gb, line, img_size);
+ bytestream2_get_buffer(&s->gb, line, img_size);
line = advance_line(dst, line, stride, &y, h, interleave);
} while (line);
}