Revision 66e5b1df libavformat/spdifdec.c

View differences:

libavformat/spdifdec.c
171 171

  
172 172
    while (state != (AV_BSWAP16C(SYNCWORD1) << 16 | AV_BSWAP16C(SYNCWORD2))) {
173 173
        state = (state << 8) | avio_r8(pb);
174
        if (url_feof(pb))
174
        if (pb->eof_reached)
175 175
            return AVERROR_EOF;
176 176
    }
177 177

  

Also available in: Unified diff