Revision 66e5b1df libavformat/flacdec.c

View differences:

libavformat/flacdec.c
46 46
    }
47 47

  
48 48
    /* process metadata blocks */
49
    while (!url_feof(s->pb) && !metadata_last) {
49
    while (!s->pb->eof_reached && !metadata_last) {
50 50
        avio_read(s->pb, header, 4);
51 51
        ff_flac_parse_block_header(header, &metadata_last, &metadata_type,
52 52
                                   &metadata_size);

Also available in: Unified diff