Changeset 1212
- Timestamp:
- 11/26/09 10:05:51 (8 months ago)
- Files:
-
- 1 modified
-
trunk/ff_private.c (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/ff_private.c
r1197 r1212 23 23 #include "ff_private.h" 24 24 #include "avcodec.h" 25 #include "libavutil/internal.h"26 #include "mpegaudio.h"27 25 #include "Codecprintf.h" 28 26 #include "CommonUtils.h" … … 261 259 if (!asbd.mFramesPerPacket) 262 260 asbd.mFramesPerPacket = codec->frame_size; 261 if (!asbd.mFramesPerPacket && !asbd.mBytesPerPacket && asbd.mFormatID == kAudioFormatMPEGLayer3) //MP3 Decode is broken on some versions of Tiger and the AppleTV 262 asbd.mFramesPerPacket = 1; 263 263 asbd.mBitsPerChannel = codec->bits_per_coded_sample; 264 264
