aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2014-10-10 20:34:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2014-10-10 20:38:51 +0200
commitfc6aa304596bba3837e1026fe1fb6abba1295ab5 (patch)
treed2f57d8321b1fe97234be0258eee47a41de01e6f
parentcb530dda7d76790b08ee3b7f67e251f3ce48c359 (diff)
parenteb4f9069002e73648f6640cd054fc814cfda75b8 (diff)
downloadffmpeg-fc6aa304596bba3837e1026fe1fb6abba1295ab5.tar.gz
Merge commit 'eb4f9069002e73648f6640cd054fc814cfda75b8'
* commit 'eb4f9069002e73648f6640cd054fc814cfda75b8': lavf: More informative error message Conflicts: libavformat/mux.c See: 30ced7e69f434bd49b39fb7c8ce02d9ba71babfc Merged-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--libavformat/mux.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 21e6a07723..3c4853594c 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -496,8 +496,10 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt)
return AVERROR(EINVAL);
}
if (pkt->dts != AV_NOPTS_VALUE && pkt->pts != AV_NOPTS_VALUE && pkt->pts < pkt->dts) {
- av_log(s, AV_LOG_ERROR, "pts (%s) < dts (%s) in stream %d\n",
- av_ts2str(pkt->pts), av_ts2str(pkt->dts), st->index);
+ av_log(s, AV_LOG_ERROR,
+ "pts (%s) < dts (%s) in stream %d\n",
+ av_ts2str(pkt->pts), av_ts2str(pkt->dts),
+ st->index);
return AVERROR(EINVAL);
}