Message ID | 20200429110023.30442-1-josh@itanimul.li |
---|---|
State | Accepted |
Commit | d817b57d36795b22dc493ef66e3ed14a583cae49 |
Headers | show |
Series | [FFmpeg-devel] tools: fix const specifier for AVInputFormat | expand |
Context | Check | Description |
---|---|---|
andriy/default | pending | |
andriy/make | success | Make finished |
andriy/make_fate | success | Make fate finished |
On Wed, Apr 29, 2020 at 12:00:23PM +0100, Josh de Kock wrote: > Signed-off-by: Josh de Kock <josh@itanimul.li> > --- > tools/probetest.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > Small fix for compiler warning caused by my earlier change. LGTM thx [...]
On 29/04/2020 20:58, Michael Niedermayer wrote: > On Wed, Apr 29, 2020 at 12:00:23PM +0100, Josh de Kock wrote: >> Signed-off-by: Josh de Kock <josh@itanimul.li> >> --- >> tools/probetest.c | 2 +- >> 1 file changed, 1 insertion(+), 1 deletion(-) >> >> Small fix for compiler warning caused by my earlier change. > > LGTM > Thanks, applied.
diff --git a/tools/probetest.c b/tools/probetest.c index cfa309cabd..6f0e002b74 100644 --- a/tools/probetest.c +++ b/tools/probetest.c @@ -66,7 +66,7 @@ static void probe(AVProbeData *pd, int type, int p, int size) static void print_times(void) { int i = 0; - AVInputFormat *fmt = NULL; + const AVInputFormat *fmt = NULL; void *fmt_opaque = NULL; while ((fmt = av_demuxer_iterate(&fmt_opaque))) {
Signed-off-by: Josh de Kock <josh@itanimul.li> --- tools/probetest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) Small fix for compiler warning caused by my earlier change.