Revision 5e5f75cf

View differences:

libavformat/ffmenc.c
74 74
        ffm->packet_ptr += len;
75 75
        buf += len;
76 76
        size -= len;
77
        if (ffm->packet_ptr >= ffm->packet_end) {
78
            /* special case : no pts in packet : we leave the current one */
79
            if (ffm->pts == 0)
80
                ffm->pts = pts;
81

  
77
        if (ffm->packet_ptr >= ffm->packet_end)
82 78
            flush_packet(s);
83
        }
84 79
    }
85 80
}
86 81

  
tests/libav.regression.ref
15 15
d6fdeb9f7083cc827f9510c6c4517dc0 *./tests/data/b-libav.swf
16 16
335771 ./tests/data/b-libav.swf
17 17
./tests/data/b-libav.swf CRC=0xe14e8847
18
102427263dc342610721d5754fac4d87 *./tests/data/b-libav.ffm
18
11eec620bdcd3ef1a053fdb964d1b855 *./tests/data/b-libav.ffm
19 19
380928 ./tests/data/b-libav.ffm
20 20
./tests/data/b-libav.ffm CRC=0x2b71a386
21 21
f8ad5bd78f4d012a8ce9570aa395ac54 *./tests/data/b-libav.flv

Also available in: Unified diff