Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-02-01 Thread Viraaj Raulgaonkar
On Fri, Jan 31, 2025 at 3:33 PM Marton Balint wrote: > > > > On Fri, 31 Jan 2025, Viraaj Raulgaonkar wrote: > > > On Fri, Jan 31, 2025 at 4:49 AM Marton Balint wrote: > >> > >> > >> > >> On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: > >> > >> > If std_strict_compliance < FF_COMPLIANCE_STRICT, th

Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-31 Thread Marton Balint
On Fri, 31 Jan 2025, Viraaj Raulgaonkar wrote: On Fri, Jan 31, 2025 at 4:49 AM Marton Balint wrote: On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: > If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of > the invalid sample rate instead of returning an error. This allows

Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
On Fri, Jan 31, 2025 at 4:49 AM Marton Balint wrote: > > > > On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: > > > If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of > > the invalid sample rate instead of returning an error. This allows the > > sample rate to be decoded in certa

Re: [FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Marton Balint
On Thu, 30 Jan 2025, Viraaj Raulgaonkar wrote: If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of the invalid sample rate instead of returning an error. This allows the sample rate to be decoded in certain cases. Fixes Trac Ticket #11361. --- libavformat/riffdec.c | 7 +++

[FFmpeg-devel] [PATCH v3] avformat/riffdec: warn on invalid sample rate

2025-01-30 Thread Viraaj Raulgaonkar
If std_strict_compliance < FF_COMPLIANCE_STRICT, then warn the user of the invalid sample rate instead of returning an error. This allows the sample rate to be decoded in certain cases. Fixes Trac Ticket #11361. --- libavformat/riffdec.c | 7 +-- 1 file changed, 5 insertions(+), 2 deletions(-