Merge remote-tracking branch 'qatar/master'
* qatar/master: dwt: K&R prettyprinting cosmetics Remove libnut wrapper fate: change name of FATE samples location environment variable avformat: Add a flag to mark muxers that allow (non strict) monotone timestamps. http: Factorize the code by adding http_read_header() Conflicts: configure doc/APIchanges doc/fate.texi libavcodec/dwt.c libavcodec/dwt.h libavformat/Makefile libavformat/avformat.h libavformat/libnut.c libavformat/matroskaenc.c libavformat/utils.c libavformat/version.h Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
938adb7abc
12 changed files with 690 additions and 514 deletions
|
@ -3315,7 +3315,9 @@ static int compute_pkt_fields2(AVFormatContext *s, AVStream *st, AVPacket *pkt){
|
|||
pkt->dts= st->pts_buffer[0];
|
||||
}
|
||||
|
||||
if(st->cur_dts && st->cur_dts != AV_NOPTS_VALUE && ((!(s->oformat->flags & AVFMT_TS_NONSTRICT) && st->cur_dts >= pkt->dts) || st->cur_dts > pkt->dts)){
|
||||
if (st->cur_dts && st->cur_dts != AV_NOPTS_VALUE &&
|
||||
((!(s->oformat->flags & AVFMT_TS_NONSTRICT) &&
|
||||
st->cur_dts >= pkt->dts) || st->cur_dts > pkt->dts)) {
|
||||
av_log(s, AV_LOG_ERROR,
|
||||
"Application provided invalid, non monotonically increasing dts to muxer in stream %d: %s >= %s\n",
|
||||
st->index, av_ts2str(st->cur_dts), av_ts2str(pkt->dts));
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue