Revision 66e5b1df libavformat/amr.c

View differences:

libavformat/amr.c
122 122
    AVCodecContext *enc = s->streams[0]->codec;
123 123
    int read, size = 0, toc, mode;
124 124

  
125
    if (url_feof(s->pb))
125
    if (s->pb->eof_reached)
126 126
    {
127 127
        return AVERROR(EIO);
128 128
    }

Also available in: Unified diff