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:
authorMichael Niedermayer <michaelni@gmx.at>2014-04-21 02:58:24 +0400
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2014-04-23 19:01:36 +0400
commitabd6decd554dbccb6eacb23e2cc78acc72202d2d (patch)
treeb55df20d50a23471f8d4f480ec1937b60ae18645 /libavformat
parent0385c824f101151b6f0c4eda59249d70bd48fb53 (diff)
avformat/pmpdec: remove cur_dts timestamp hack
It appears the demuxer works fine without it Fixes Ticket3534 Signed-off-by: Michael Niedermayer <michaelni@gmx.at> (cherry picked from commit 5b19fc7aae986d6fa3d689f581b37e4bfba4f2d0)
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/pmpdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/pmpdec.c b/libavformat/pmpdec.c
index 25a5c3e684..d03283722a 100644
--- a/libavformat/pmpdec.c
+++ b/libavformat/pmpdec.c
@@ -160,10 +160,6 @@ static int pmp_packet(AVFormatContext *s, AVPacket *pkt)
ret = av_get_packet(pb, pkt, pmp->packet_sizes[pmp->current_packet]);
if (ret >= 0) {
ret = 0;
- // FIXME: this is a hack that should be removed once
- // compute_pkt_fields() can handle timestamps properly
- if (pmp->cur_stream == 0)
- pkt->dts = s->streams[0]->cur_dts++;
pkt->stream_index = pmp->cur_stream;
}
if (pmp->current_packet % pmp->audio_packets == 0)