summaryrefslogtreecommitdiff
path: root/libavcodec/mpegaudioenc_template.c
Commit message (Collapse)AuthorAge
* avcodec/mpegaudioenc_template: Fix integer overflowMichael Niedermayer2014-04-15
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpegaudioenc_template: default to 384k bitrate as defaultMichael Niedermayer2014-04-11
| | | | | | | | If 384k is too high for the samplerate, choose the closest possible Idea to increase the bitrate from: 46439e156219d27f059cf687743ba5aacf238b87 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpegaudioenc_template: reorder operations to prevent integer overflowMichael Niedermayer2014-04-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec/mpegaudioenc_template: dont crash on bitrate=0Michael Niedermayer2014-04-09
| | | | Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* Merge commit '46439e156219d27f059cf687743ba5aacf238b87'Michael Niedermayer2014-04-09
| | | | | | | | | | * commit '46439e156219d27f059cf687743ba5aacf238b87': mp2: match twolame default options Not merged as the change breaks fate, also forcing resampling to specific sample rate reduces quality, and would be like rescaling every movie to 1080. Merged-by: Michael Niedermayer <michaelni@gmx.at>
* libavcodec/mpegaudio: change CONFIG_FLOAT to USE_FLOATMichael Niedermayer2013-12-03
| | | | | | | | The CONFIG_ name-space is set by configure, so its better to use a different prefix here. This also unifies the encoder & decoder define that is used Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
* avcodec: split mp2 encoder into float and fixedMichael Niedermayer2013-12-03
This makes the USE_FLOATS == 0 available to the end user More float optimizations can easily be added as well now common code should be factored out into a common file once all fixed point & floating point optimizations are done, this is to avoid having to move code back and forth between files. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>