diff options
author | Paul B Mahol <onemda@gmail.com> | 2022-09-04 20:50:16 +0200 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2022-09-05 12:27:50 +0200 |
commit | 2ed5925e26f77fc377cedcefb3864dc1a4712210 (patch) | |
tree | 2a8c3c0a02eaf3ea5d5242d710800b7cdde466fb /libavcodec/flacdec.c | |
parent | 1e202d89c95d99d69412854f4ee9d5e569c3da69 (diff) | |
download | ffmpeg-2ed5925e26f77fc377cedcefb3864dc1a4712210.tar.gz |
avcodec/flac: smallest frame is 10 bytes
Fixes #9270
Diffstat (limited to 'libavcodec/flacdec.c')
-rw-r--r-- | libavcodec/flacdec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flacdec.c b/libavcodec/flacdec.c index 075d76bc8a..5b8547a98f 100644 --- a/libavcodec/flacdec.c +++ b/libavcodec/flacdec.c @@ -577,7 +577,7 @@ static int flac_decode_frame(AVCodecContext *avctx, AVFrame *frame, /* check that there is at least the smallest decodable amount of data. this amount corresponds to the smallest valid FLAC frame possible. - FF F8 69 02 00 00 9A 00 00 34 46 */ + FF F8 69 02 00 00 9A 00 00 34 */ if (buf_size < FLAC_MIN_FRAME_SIZE) return buf_size; |