OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
549749c
)
sbgdec: Replace ELOOP by -1 to fix compilation on win32.
author
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Dec 2011 02:53:50 +0000
(
03:53
+0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Sun, 18 Dec 2011 02:57:11 +0000
(
03:57
+0100)
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>
libavformat/sbgdec.c
patch
|
blob
|
history
diff --git
a/libavformat/sbgdec.c
b/libavformat/sbgdec.c
index
da4bb6c
..
b1950a3
100644
(file)
--- 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++) {