diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index 8b4cc5ef61f6d6daf5367cd6819843199e4f70e3..84d06c7283fad0b87ddc146e0129075cf433b8ea 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1703,7 +1703,7 @@ static int matroska_parse_block(MatroskaDemuxContext *matroska, uint8_t *data,
                 if (track->ms_compat)
                     pkt->dts = timecode;
                 else
-                pkt->pts = timecode;
+                    pkt->pts = timecode;
                 pkt->pos = pos;
                 if (st->codec->codec_id == CODEC_ID_TEXT)
                     pkt->convergence_duration = duration;