Revision 35eab0c0

View differences:

libavformat/utils.c
1812 1812
                break;
1813 1813
            }
1814 1814
        }
1815
            /* we did not get all the codec info, but we read too much data */
1816
            if (read_size >= MAX_READ_SIZE) {
1817
                ret = count;
1818
                break;
1819
            }
1815
        /* we did not get all the codec info, but we read too much data */
1816
        if (read_size >= MAX_READ_SIZE) {
1817
            ret = count;
1818
            break;
1819
        }
1820 1820

  
1821 1821
        /* NOTE: a new stream can be added there if no header in file
1822 1822
           (AVFMTCTX_NOHEADER) */

Also available in: Unified diff