This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
flacdec: 10l to me. I miscalculated the smallest FLAC frame. It is 16
bytes, not 24. Originally committed as revision 17820 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Justin Ruggles
17 years ago
parent
bf1d7e285c
commit
5756bc7b02
1 changed files
with
1 additions
and
1 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
libavcodec/flacdec.c
+ 1
- 1
libavcodec/flacdec.c
View File
@@ -651,7 +651,7 @@ static int flac_decode_frame(AVCodecContext *avctx,
/* check that there is at least the smallest decodable amount of data.
this amount corresponds to the smallest valid FLAC frame possible. */
if (buf_size <
24
)
if (buf_size <
16
)
goto end;
/* check for inline header */
Write
Preview
Loading…
Cancel
Save