Revision 9aaa2077 libavformat/txd.c

View differences:

libavformat/txd.c
64 64
    if (url_feof(s->pb))
65 65
        return AVERROR(EIO);
66 66
    if (marker != TXD_MARKER && marker != TXD_MARKER2) {
67
        av_log(NULL, AV_LOG_ERROR, "marker does not match\n");
67
        av_log(s, AV_LOG_ERROR, "marker does not match\n");
68 68
        return AVERROR(EIO);
69 69
    }
70 70

  
......
78 78
        case TXD_TEXTURE:
79 79
            goto next_chunk;
80 80
        default:
81
            av_log(NULL, AV_LOG_ERROR, "unknown chunk id %i\n", id);
81
            av_log(s, AV_LOG_ERROR, "unknown chunk id %i\n", id);
82 82
            return AVERROR(EIO);
83 83
    }
84 84

  

Also available in: Unified diff