OSDN Git Service

sctp: Use AVERROR_BUG instead of abort()
authorLuca Barbato <lu_zero@gentoo.org>
Thu, 9 Oct 2014 15:57:14 +0000 (17:57 +0200)
committerLuca Barbato <lu_zero@gentoo.org>
Fri, 10 Oct 2014 14:29:06 +0000 (16:29 +0200)
commit09e1ccc8cddc946da5e10841f10dc5ebdd187d9d
tree7f6c1ea201c33fee5c6e3b97f7f55265a04b0437
parenteb4f9069002e73648f6640cd054fc814cfda75b8
sctp: Use AVERROR_BUG instead of abort()

Trying to write to a stream id larger the the maximum requested is
a programming error, still there is no reason to leave a
reachable abort() in the codebase.

CC: libav-stable@libav.org
libavformat/sctp.c