summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/webm_chunk.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/libavformat/webm_chunk.c b/libavformat/webm_chunk.c
index 48ea6f0f83..6d3d5d64e6 100644
--- a/libavformat/webm_chunk.c
+++ b/libavformat/webm_chunk.c
@@ -201,9 +201,6 @@ static int webm_chunk_write_packet(AVFormatContext *s, AVPacket *pkt)
}
}
- if (st->codec->codec_type == AVMEDIA_TYPE_AUDIO && pkt->pts == 0) {
- goto fail;
- }
ret = oc->oformat->write_packet(oc, pkt);
if (ret < 0)
goto fail;