[FFmpeg-devel] [PATCH]lavc/amrwbdec: Do not ignore NO_DATA frames
Paul B Mahol
onemda at gmail.com
Mon Jan 28 17:17:40 EET 2019
On 1/28/19, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
> 2019-01-28 15:20 GMT+01:00, Paul B Mahol <onemda at gmail.com>:
>> On 1/28/19, Carl Eugen Hoyos <ceffmpeg at gmail.com> wrote:
>>> Attached patch fixes the actual output duration for AMR-WB samples
>>> with NO_DATA frames.
>>> A follow-up patch also skips corrupted frames, making the output of
>>> the sample in ticket #7113 very similar to the reference decoder.
>> Very similar does not mean much!
> Since some frames are broken (and not just corrupted) and the
> codec uses floats internally, I don't think this is relevant.
> In addition, this patch is not about similarity in the output but
> duration, so your comment does not apply here.
> Is this patch ok?
Only if you can confirm that output is same as reference decoder
so use 16bit sample format and rounding error should be max -1/+1.
More information about the ffmpeg-devel