Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 12:44:58 +0400
committerBaptiste Coudurier <baptiste.coudurier@gmail.com>2008-06-22 12:44:58 +0400
commit5e5f75cf8abd76ada3011790a9b4f0762a72e41a (patch)
tree6324384bb3c17e02f6c98d72372ab3fc14d2c345 /libavformat/ffmenc.c
parent78a5c7a5a17dd239f7f3f87fe413ef5b54c706df (diff)
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/ffmenc.c')
-rw-r--r--libavformat/ffmenc.c7
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);
- }
}
}