Revision 348d46f2

View differences:

ffmpeg.c
1347 1347
    AVOutputStream *ost, **ost_table = NULL;
1348 1348
    AVInputStream *ist, **ist_table = NULL;
1349 1349
    AVInputFile *file_table;
1350
    AVFormatContext *stream_no_data;
1351 1350
    int key;
1352 1351

  
1353 1352
    file_table= (AVInputFile*) av_mallocz(nb_input_files * sizeof(AVInputFile));
......
1809 1808
    }
1810 1809
    term_init();
1811 1810

  
1812
    stream_no_data = 0;
1813 1811
    key = -1;
1814 1812

  
1815 1813
    for(; received_sigterm == 0;) {
......
1879 1877
            if (opt_shortest) break; else continue; //
1880 1878
        }
1881 1879

  
1882
        if (!pkt.size) {
1883
            stream_no_data = is;
1884
        } else {
1885
            stream_no_data = 0;
1886
        }
1887 1880
        if (do_pkt_dump) {
1888 1881
            av_pkt_dump(stdout, &pkt, do_hex_dump);
1889 1882
        }

Also available in: Unified diff