diff options
author | Benoit Fouet <benoit.fouet@free.fr> | 2009-03-03 19:19:37 +0300 |
---|---|---|
committer | Benoit Fouet <benoit.fouet@free.fr> | 2009-03-03 19:19:37 +0300 |
commit | 9aaa2077e5879b153d2ce6bea2e42f0c349a083f (patch) | |
tree | 58542a63480f38fec7dd05a49da8759102a4f509 | |
parent | c36264a3537b932ea3220838a43e81d63b6cc2f1 (diff) |
Add a context to av_log() calls.
Originally committed as revision 17775 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/txd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/txd.c b/libavformat/txd.c index bf62ac67df..0fd33e600d 100644 --- a/libavformat/txd.c +++ b/libavformat/txd.c @@ -64,7 +64,7 @@ next_chunk: 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 @@ next_chunk: 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); } |