On Tue, Sep 1, 2015 at 6:46 PM Rostislav Pehlivanov <atomnu...@gmail.com> wrote:
> /** > + * List of currently supported profiles, anything not listed isn't > supported. > + */ > > +struct AACProfileOptions aacenc_profiles[] = { > static const? > + {FF_PROFILE_AAC_LOW, > + { /* Default profile, these are the settings that get set by > default */ > + .stereo_mode = 0, > + .aac_coder = AAC_CODER_TWOLOOP, > + .pns = 1, > + .tns = 0, > + .pred = OPT_NEEDS_MAIN, > + .intensity_stereo = 1, > + }, > + }, > + {FF_PROFILE_MPEG2_AAC_LOW, > + { /* Strict MPEG 2 Part 7 compliance profile */ > + .stereo_mode = 0, > + .aac_coder = AAC_CODER_TWOLOOP, > + .pns = OPT_BANNED, > + .tns = 0, > + .pred = OPT_BANNED, > + .intensity_stereo = 1, > + }, > + }, > + {FF_PROFILE_AAC_MAIN, > + { /* Main profile, all advanced encoding abilities enabled */ > + .stereo_mode = 0, > + .aac_coder = AAC_CODER_TWOLOOP, > + .pns = 1, > + .tns = 0, > + .pred = OPT_REQUIRED, > + .intensity_stereo = 0, > + }, > + }, > +}; > You could consider using the FF_PROFILE_ macros as the array index. Timothy _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel