diff --git a/libavcodec/8svx.c b/libavcodec/8svx.c index 87653a8046e2a2638589dd95e20ac7a3a8d0e7b0..1b03ba1d4e901ad91e64866475dc08ef96a91532 100644 --- a/libavcodec/8svx.c +++ b/libavcodec/8svx.c @@ -122,6 +122,7 @@ static int eightsvx_decode_frame(AVCodecContext *avctx, void *data, /* the uncompressed starting value is contained in the first byte */ dst = esc->samples; for (i = 0; i < avctx->channels; i++) { + *(dst++) = buf[0]; delta_decode(dst, buf + 1, buf_size / avctx->channels - 1, buf[0], esc->table); buf += buf_size / avctx->channels; dst += n / avctx->channels - 1; diff --git a/tests/ref/fate/iff-fibonacci b/tests/ref/fate/iff-fibonacci index 947f78e96451e0dfbd44e8bb2d3d384ae2387060..5b9332973d9ae36489720ad3b967809a1e5e3b48 100644 --- a/tests/ref/fate/iff-fibonacci +++ b/tests/ref/fate/iff-fibonacci @@ -1 +1 @@ -e76b025238a6a27968f8644f4ccc3207 +96a20cd1fae705cbc11eee5d6046b8e4