diff options
Diffstat (limited to 'libavcodec/sanm.c')
-rw-r--r-- | libavcodec/sanm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/sanm.c b/libavcodec/sanm.c index ff70f206e6..db22fc99ef 100644 --- a/libavcodec/sanm.c +++ b/libavcodec/sanm.c @@ -652,8 +652,7 @@ static int old_codec47(SANMVideoContext *ctx, int top, if (bytestream2_get_bytes_left(&ctx->gb) < width * height) return AVERROR_INVALIDDATA; for (j = 0; j < height; j++) { - for (i = 0; i < width; i++) - bytestream2_get_bufferu(&ctx->gb, dst, width); + bytestream2_get_bufferu(&ctx->gb, dst, width); dst += stride; } break; |