repositories
/
deb_ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Imported Debian version 2.5.0~trusty1.1
[deb_ffmpeg.git]
/
ffmpeg
/
libavformat
/
sctp.c
diff --git
a/ffmpeg/libavformat/sctp.c
b/ffmpeg/libavformat/sctp.c
index 35b9ad15ab1894891760fc3a32faf4d3710e2402..d7338950bd3a7f13bdefa6248b18747481de0fe6 100644
(file)
--- a/
ffmpeg/libavformat/sctp.c
+++ b/
ffmpeg/libavformat/sctp.c
@@
-298,7
+298,7
@@
static int sctp_write(URLContext *h, const uint8_t *buf, int size)
info.sinfo_stream = AV_RB16(buf);
if (info.sinfo_stream > s->max_streams) {
av_log(h, AV_LOG_ERROR, "bad input data\n");
- return AVERROR
(EINVAL)
;
+ return AVERROR
_BUG
;
}
ret = ff_sctp_send(s->fd, buf + 2, size - 2, &info, MSG_EOR);
} else