Andrew, yes this updated patch builds.  I will test all 3 patches on ubuntu16 and debian 32bit also (just in case), and check into GIT next time I boot the desktop.  Also, corrected spelling in ffmpeg.C from fossies.org -- I hope to remember any time a file gets changed to check the spelling errors pointed out. Too bad instead of checking for spelling errors, they could check for coding errors as that would actually be useful.

  0001-QSV-hw-decoder-test.patch  --- DID NOT ACTUALLY TEST, just compiled
 '0001-Fix-mjpegtools-build-with-clang-termux(1).patch'
  0002-Add-std-c11-to-a52-cflags-fixes-autoconf-2.73-clang-.patch

On Sat, Apr 4, 2026 at 1:27 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
On Sat, Apr 4, 2026 at 8:15 PM Phyllis Smith <phylsmith2017@gmail.com> wrote:
>
> Andrew, first patch "breaks" normal build.  I will send you the log.  Now am applying second patch on top of first, just in case and let you know.


Does it work if you change c11 to gnu11 like attached (edited) patch ?

I am trying on Slackware 15.0 i586 and termux/clang aarch64 - there it
seems to work ?

Not tested on x86-64 yet


>
> On Sun, Mar 29, 2026 at 12:10 PM Andrew Randrianasulu <randrianasulu@gmail.com> wrote:
>>
>> Attached two patches that *seems* to fix thirdparty build on updated Termux.
>>
>> But I did not do full second rebuild yet.
>>
>> вс, 29 мар. 2026 г., 15:49 Andrew Randrianasulu <randrianasulu@gmail.com>:
>>>
>>> I was rebuilding on Termux and noted that mjpegtools and possibly
>>> liba52 now fails to build.
>>>
>>> Ah, I thought it was due to clang update, but apparently autoconf can
>>> cause  this, when paired with c23 defaulting compiler
>>>
>>> https://www.mail-archive.com/info-gnu@gnu.org/msg03513.html
>>>
>>> ===
>>>
>>> AC_PROG_CC now prefers C23 if available.
>>>   Older code may need to be updated, as C23 has removed old-style
>>>   (K&R) function definitions and declarations, now uses type-generic
>>>   functions for strchr and similar functions, and has new keywords
>>>   alignas, alignof, bool, constexpr, false, nullptr, static_assert,
>>>   thread_local, true, typeof, typeof_unqual.
>>>
>>> ====
>>>
>>> I'll try to prepare patch  as my tablet charge back (after just less
>>> than 4 years of use it hardly compiles half of full cingg build ....
>>> even if plugged in!)
>>>
>>> not for this month's release, we already hit enough surprises for
>>> last-minute build changes like this.