summaryrefslogtreecommitdiff
path: root/src/codec
diff options
context:
space:
mode:
authorAndrew Opalach <andrew@akon.city> 2024-02-02 22:57:22 -0500
committerAndrew Opalach <andrew@akon.city> 2024-02-02 22:57:22 -0500
commit0b7a612a9baf49765db8b127e696913100b70f5f (patch)
tree78680777023d989b9148dd98a5a6e489e49b022a /src/codec
parentb100eb175e0cfa59a15c4125f26ab5474c2347ec (diff)
downloadcamu-0b7a612a9baf49765db8b127e696913100b70f5f.tar.gz
camu-0b7a612a9baf49765db8b127e696913100b70f5f.tar.bz2
camu-0b7a612a9baf49765db8b127e696913100b70f5f.zip
wip
- Getting somewhere with the client Signed-off-by: Andrew Opalach <andrew@akon.city>
Diffstat (limited to 'src/codec')
-rw-r--r--src/codec/libav/demuxer.c2
1 files changed, 1 insertions, 1 deletions
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 {