Revision 1c4ac035 libavformat/electronicarts.c

View differences:

libavformat/electronicarts.c
109 109
    ea->sample_rate = -1;
110 110
    ea->num_channels = 1;
111 111

  
112
    while (inHeader) {
112
    while (!url_feof(pb) && inHeader) {
113 113
        int inSubheader;
114 114
        uint8_t byte;
115 115
        byte = get_byte(pb);
......
118 118
        case 0xFD:
119 119
            av_log (s, AV_LOG_DEBUG, "entered audio subheader\n");
120 120
            inSubheader = 1;
121
            while (inSubheader) {
121
            while (!url_feof(pb) && inSubheader) {
122 122
                uint8_t subbyte;
123 123
                subbyte = get_byte(pb);
124 124

  

Also available in: Unified diff