| Index: source/patched-ffmpeg-mt/libavcodec/mpeg4audio.c
|
| ===================================================================
|
| --- source/patched-ffmpeg-mt/libavcodec/mpeg4audio.c (revision 50820)
|
| +++ source/patched-ffmpeg-mt/libavcodec/mpeg4audio.c (working copy)
|
| @@ -131,6 +131,14 @@
|
| get_bits1(&gb); // skip 1 bit
|
| }
|
| }
|
| +
|
| + //PS requires SBR
|
| + if (!c->sbr)
|
| + c->ps = 0;
|
| + //Limit implicit PS to the HE-AACv2 Profile
|
| + if ((c->ps == -1 && c->object_type != AOT_AAC_LC) || c->channels & ~0x01)
|
| + c->ps = 0;
|
| +
|
| return specific_config_bitindex;
|
| }
|
|
|
|
|