Ticket #3967: libavcodec-mp3-q.patch
| File libavcodec-mp3-q.patch, 538 bytes (added by , 12 years ago) |
|---|
-
libavcodec/libmp3lame.
old new static av_cold int mp3lame_encode_init(A 103 103 lame_set_out_samplerate(s->gfp, avctx->sample_rate); 104 104 105 105 /* algorithmic quality */ 106 if (avctx->compression_level == FF_COMPRESSION_DEFAULT) 107 lame_set_quality(s->gfp, 5); 108 else 106 if (avctx->compression_level != FF_COMPRESSION_DEFAULT) 109 107 lame_set_quality(s->gfp, avctx->compression_level); 110 108 111 109 /* rate control */
