Revision 66e5b1df libavformat/dsicin.c

View differences:

libavformat/dsicin.c
147 147
    hdr->video_frame_size = avio_rl32(pb);
148 148
    hdr->audio_frame_size = avio_rl32(pb);
149 149

  
150
    if (url_feof(pb) || url_ferror(pb))
150
    if (pb->eof_reached || url_ferror(pb))
151 151
        return AVERROR(EIO);
152 152

  
153 153
    if (avio_rl32(pb) != 0xAA55AA55)

Also available in: Unified diff