On Sat, Oct 26, 2019 at 22:18:32 +0800, zhongli_...@126.com wrote:
> AVInputFormat *fmt = NULL;
> +void *fmt_opaque = NULL;
>
> -while ((fmt = av_iformat_next(fmt))) {
> +while ((fmt = av_demuxer_iterate(&fmt_opaque))) {
Doesn't this give you (new) warnings? fmt needs to be const
From: Zhong Li
Signed-off-by: Zhong Li
---
tools/probetest.c | 6 --
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/probetest.c b/tools/probetest.c
index 2c6c1de246..75ed42d480 100644
--- a/tools/probetest.c
+++ b/tools/probetest.c
@@ -39,8 +39,9 @@ static void probe(AV