diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-20 11:24:11 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-20 11:24:11 +0100 |
commit | 17ebef2fc8094a235c0f30ce247c77659ea86539 (patch) | |
tree | e5e435fe4269c33888e1f55fc09b32e787e3479e /libavformat/asfenc.c | |
parent | db8403d04afc025278f611d43a91429bbfa44026 (diff) | |
parent | 2c328a907978b61949fd20f7c991803174337855 (diff) | |
download | ffmpeg-17ebef2fc8094a235c0f30ce247c77659ea86539.tar.gz |
Merge commit '2c328a907978b61949fd20f7c991803174337855'
* commit '2c328a907978b61949fd20f7c991803174337855':
pixdesc: add a function for counting planes in a pixel format.
avplay: remove the -debug option.
Revert "asfenc: return error on negative timestamp"
Conflicts:
doc/APIchanges
doc/ffplay.texi
ffplay.c
libavutil/version.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/asfenc.c')
-rw-r--r-- | libavformat/asfenc.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/libavformat/asfenc.c b/libavformat/asfenc.c index 9a8a739d39..f3aec9c845 100644 --- a/libavformat/asfenc.c +++ b/libavformat/asfenc.c @@ -804,14 +804,6 @@ static int asf_write_packet(AVFormatContext *s, AVPacket *pkt) flags &= ~AV_PKT_FLAG_KEY; pts = (pkt->pts != AV_NOPTS_VALUE) ? pkt->pts : pkt->dts; - - if (pts < 0) { - av_log(s, AV_LOG_ERROR, - "Negative dts not supported stream %d, dts %"PRId64"\n", - pkt->stream_index, pts); - return AVERROR(ENOSYS); - } - assert(pts != AV_NOPTS_VALUE); pts *= 10000; asf->duration = FFMAX(asf->duration, pts + pkt->duration * 10000); |