Revision 6e1f8725 ffplay.c

View differences:

ffplay.c
1439 1439
        }
1440 1440
        ret = av_read_frame(ic, pkt);
1441 1441
        if (ret < 0) {
1442
            break;
1442
	    if (url_feof(&ic->pb) && url_ferror(&ic->pb) == 0) {
1443
                SDL_Delay(100); /* wait for user event */
1444
		continue;
1445
	    } else
1446
	        break;
1443 1447
        }
1444 1448
        if (pkt->stream_index == is->audio_stream) {
1445 1449
            packet_queue_put(&is->audioq, pkt);

Also available in: Unified diff