mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
Add a context to av_log() calls.
Originally committed as revision 17775 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
c36264a353
commit
9aaa2077e5
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user