From 0b7a612a9baf49765db8b127e696913100b70f5f Mon Sep 17 00:00:00 2001 From: Andrew Opalach Date: Fri, 2 Feb 2024 22:57:22 -0500 Subject: wip - Getting somewhere with the client Signed-off-by: Andrew Opalach --- src/codec/libav/demuxer.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/codec/libav') diff --git a/src/codec/libav/demuxer.c b/src/codec/libav/demuxer.c index e276865..2169816 100644 --- a/src/codec/libav/demuxer.c +++ b/src/codec/libav/demuxer.c @@ -75,7 +75,7 @@ static bool lav_demuxer_init(struct camu_demuxer *demux, struct cch_handle *hand al_log_info("lav_demux", "Guessing that stream #%u is an image.", i); stream->duration = 0; } else if (stream->duration < 0) { - al_log_warn("lav_demux", "Stream #%u has an invalid duration (%ld).", i, av->format_context->duration); + al_log_warn("lav_demux", "Stream #%u has an invalid duration (%ld).", i, stream->duration); if (av->format_context->duration < 0) { stream->duration = 0; } else { -- cgit v1.2.3-101-g0448