Re: [FFmpeg-devel] [PATCH] avcodec/dcaenc: Do not abort process in case of bitrate deficit

2017-05-16 Thread Rostislav Pehlivanov
On 12 May 2017 at 00:33, Даниил Чередник wrote: > Hi. > > This patch removes assert which can cause abort process in case of limited > bitrate: > > Old behaviour - abort if at least one subband has 1bit quantizer > and consumed_bits still greater than frame_bits size. It

[FFmpeg-devel] [PATCH] avcodec/dcaenc: Do not abort process in case of bitrate deficit

2017-05-11 Thread Даниил Чередник
Hi. This patch removes assert which can cause abort process in case of limited bitrate: Old behaviour - abort if at least one subband has 1bit quantizer and consumed_bits still greater than frame_bits size. It was a bit strange - we still could reduce bits consumption by reducing SNR for other