Revision 5fb83c38 libavformat/utils.c

View differences:

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

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

Also available in: Unified diff