diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-22 08:44:58 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-06-22 08:44:58 +0000 |
commit | 5e5f75cf8abd76ada3011790a9b4f0762a72e41a (patch) | |
tree | 6324384bb3c17e02f6c98d72372ab3fc14d2c345 /libavformat | |
parent | 78a5c7a5a17dd239f7f3f87fe413ef5b54c706df (diff) | |
download | ffmpeg-5e5f75cf8abd76ada3011790a9b4f0762a72e41a.tar.gz |
remove pts set hack, this is no more correct
Originally committed as revision 13879 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/ffmenc.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/libavformat/ffmenc.c b/libavformat/ffmenc.c index 1a38f9937f..5747e855a5 100644 --- a/libavformat/ffmenc.c +++ b/libavformat/ffmenc.c @@ -74,13 +74,8 @@ static void ffm_write_data(AVFormatContext *s, ffm->packet_ptr += len; buf += len; size -= len; - if (ffm->packet_ptr >= ffm->packet_end) { - /* special case : no pts in packet : we leave the current one */ - if (ffm->pts == 0) - ffm->pts = pts; - + if (ffm->packet_ptr >= ffm->packet_end) flush_packet(s); - } } } |