Link to build logs.

https://koji.rpmfusion.org/koji/taskinfo?taskID=585584

```
gcc -I"/builddir/build/BUILD/gpac-2.2.0/include"  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -I/usr/include/ffmpeg -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -msse2 -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/builddir/build/BUILD/gpac-2.2.0" -fvisibility="hidden"    -I/usr/include/ffmpeg -c -o filters/ff_mx.o filters/ff_mx.c
filters/ff_mx.c: In function 'ffmx_close_seg':
filters/ff_mx.c:506:72: error: 'AVIOContext' has no member named 'written'
  506 |         evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->written-1) : 0;
      |                                                                        ^~
filters/ff_mx.c: In function 'ffmx_configure_pid':
filters/ff_mx.c:1016:55: error: 'const struct AVOutputFormat' has no member named 'query_codec'
 1016 |         if (ctx->muxer->oformat && ctx->muxer->oformat->query_codec) {
      |                                                       ^~
filters/ff_mx.c:1017:42: error: 'const struct AVOutputFormat' has no member named 'query_codec'
 1017 |                 res = ctx->muxer->oformat->query_codec(ff_codec_id, 1);
      |                                          ^~
make[1]: *** [../config.mak:183: filters/ff_mx.o] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/gpac-2.2.0/src'
make[1]: *** Waiting for unfinished jobs....
```

See.

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/9b8a398930df6606f6314b07c66605f44a8cb0eb
gpac-2.2.0 fails to compile with ffmpeg-6.0 release.
This is a GitHub Issue
repo:gpac
owner:gpac
Title : gpac-2.2.0 fails to compile with ffmpeg-6.0 release.
Issue date:

--- start body ---
Link to build logs.

https://koji.rpmfusion.org/koji/taskinfo?taskID=585584

```
gcc -I"/builddir/build/BUILD/gpac-2.2.0/include"  -O2 -flto=auto -ffat-lto-objects -fexceptions -g -grecord-gcc-switches -pipe -Wall -Werror=format-security -Wp,-U_FORTIFY_SOURCE,-D_FORTIFY_SOURCE=3 -Wp,-D_GLIBCXX_ASSERTIONS -specs=/usr/lib/rpm/redhat/redhat-hardened-cc1 -fstack-protector-strong -specs=/usr/lib/rpm/redhat/redhat-annobin-cc1  -m64  -mtune=generic -fasynchronous-unwind-tables -fstack-clash-protection -fcf-protection -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES -D_LARGEFILE_SOURCE=1 -D_GNU_SOURCE=1 -I/usr/include/ffmpeg -Wall -fno-strict-aliasing -Wno-pointer-sign -fPIC -DPIC -msse2 -DNDEBUG -std=gnu99 -Wno-deprecated -Wno-deprecated-declarations -Wno-int-in-bool-context -DGPAC_HAVE_CONFIG_H -I"/builddir/build/BUILD/gpac-2.2.0" -fvisibility="hidden"    -I/usr/include/ffmpeg -c -o filters/ff_mx.o filters/ff_mx.c
filters/ff_mx.c: In function 'ffmx_close_seg':
filters/ff_mx.c:506:72: error: 'AVIOContext' has no member named 'written'
  506 |         evt.seg_size.media_range_end = ctx->muxer->pb ? (ctx->muxer->pb->written-1) : 0;
      |                                                                        ^~
filters/ff_mx.c: In function 'ffmx_configure_pid':
filters/ff_mx.c:1016:55: error: 'const struct AVOutputFormat' has no member named 'query_codec'
 1016 |         if (ctx->muxer->oformat && ctx->muxer->oformat->query_codec) {
      |                                                       ^~
filters/ff_mx.c:1017:42: error: 'const struct AVOutputFormat' has no member named 'query_codec'
 1017 |                 res = ctx->muxer->oformat->query_codec(ff_codec_id, 1);
      |                                          ^~
make[1]: *** [../config.mak:183: filters/ff_mx.o] Error 1
make[1]: Leaving directory '/builddir/build/BUILD/gpac-2.2.0/src'
make[1]: *** Waiting for unfinished jobs....
```

See.

https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/9b8a398930df6606f6314b07c66605f44a8cb0eb
--- end body ---
