Revision 66e5b1df libavformat/smacker.c

View differences:

libavformat/smacker.c
235 235
    int palchange = 0;
236 236
    int pos;
237 237

  
238
    if (url_feof(s->pb) || smk->cur_frame >= smk->frames)
238
    if (s->pb->eof_reached || smk->cur_frame >= smk->frames)
239 239
        return AVERROR_EOF;
240 240

  
241 241
    /* if we demuxed all streams, pass another frame */

Also available in: Unified diff