summaryrefslogtreecommitdiffstats
path: root/libavformat/sbgdec.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:53:50 +0100
committerMichael Niedermayer <michaelni@gmx.at>2011-12-18 03:57:11 +0100
commit4734fb0eced88680d820644582b92212295460a9 (patch)
treef14f1708cab81c6ae5683a02d59da67267677fd0 /libavformat/sbgdec.c
parent549749c68e7216b7a5714b9019ad20652e970d33 (diff)
downloadffmpeg-streaming-4734fb0eced88680d820644582b92212295460a9.zip
ffmpeg-streaming-4734fb0eced88680d820644582b92212295460a9.tar.gz
sbgdec: Replace ELOOP by -1 to fix compilation on win32.
This should be replaced by a more appropriate error code of course but we should not leave compilation broken until that is decided. Found-by: jb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/sbgdec.c')
-rw-r--r--libavformat/sbgdec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index da4bb6c..b1950a3 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -948,7 +948,7 @@ static int expand_tseq(void *log, struct sbg_script *s, int *nb_ev_max,
if (tseq->lock++) {
av_log(log, 16, "Recursion loop on \"%.*s\"\n",
tseq->name_len, tseq->name);
- return AVERROR(ELOOP);
+ return -1;
}
t0 += tseq->ts.t;
for (i = 0; i < s->nb_def; i++) {
OpenPOWER on IntegriCloud