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
nellymoserdec: Allow using unusual input block sizes
Originally committed as revision 23602 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/n0.8
Martin Storsjö
15 years ago
parent
48e77473e9
commit
f7a30c0baa
1 changed files
with
4 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+4
-0
libavcodec/nellymoserdec.c
+ 4
- 0
libavcodec/nellymoserdec.c
View File
@@ -178,8 +178,12 @@ static int decode_tag(AVCodecContext * avctx,
case 512: // 44100Hz
blocks = 8; break;
default:
if (buf_size % 64) {
av_log(avctx, AV_LOG_DEBUG, "Tag size %d.\n", buf_size);
return buf_size;
}
blocks = buf_size / 64;
break;
}
for (i=0 ; i<blocks ; i++) {
Write
Preview
Loading…
Cancel
Save