Mercurial > libavformat.hg
changeset 4636:d4f4eb9ce54f libavformat
Add a context to av_log() calls.
author | benoit |
---|---|
date | Tue, 03 Mar 2009 16:19:37 +0000 |
parents | 158706fa656f |
children | eaf90db8cc42 |
files | txd.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/txd.c Tue Mar 03 14:09:10 2009 +0000 +++ b/txd.c Tue Mar 03 16:19:37 2009 +0000 @@ -64,7 +64,7 @@ if (url_feof(s->pb)) return AVERROR(EIO); if (marker != TXD_MARKER && marker != TXD_MARKER2) { - av_log(NULL, AV_LOG_ERROR, "marker does not match\n"); + av_log(s, AV_LOG_ERROR, "marker does not match\n"); return AVERROR(EIO); } @@ -78,7 +78,7 @@ case TXD_TEXTURE: goto next_chunk; default: - av_log(NULL, AV_LOG_ERROR, "unknown chunk id %i\n", id); + av_log(s, AV_LOG_ERROR, "unknown chunk id %i\n", id); return AVERROR(EIO); }