Revision 66e5b1df libavformat/ffmdec.c

View differences:

libavformat/ffmdec.c
91 91
{
92 92
    av_log(s, AV_LOG_ERROR, "resyncing\n");
93 93
    while (state != PACKET_ID) {
94
        if (url_feof(s->pb)) {
94
        if (s->pb->eof_reached) {
95 95
            av_log(s, AV_LOG_ERROR, "cannot find FFM syncword\n");
96 96
            return -1;
97 97
        }

Also available in: Unified diff