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:
56bf2c2
)
sbgdec: replace EOVERFLOW with ENOMEM.
author
Nicolas George
<nicolas.george@normalesup.org>
Sat, 17 Dec 2011 21:43:34 +0000
(22:43 +0100)
committer
Nicolas George
<nicolas.george@normalesup.org>
Sat, 17 Dec 2011 21:43:34 +0000
(22:43 +0100)
This should fix track issue #781, regarding compilation with
i686-w64-mingw32-gcc.
libavformat/sbgdec.c
patch
|
blob
|
history
diff --git
a/libavformat/sbgdec.c
b/libavformat/sbgdec.c
index
2ec8702
..
da4bb6c
100644
(file)
--- a/
libavformat/sbgdec.c
+++ b/
libavformat/sbgdec.c
@@
-1331,7
+1331,7
@@
static int encode_intervals(struct sbg_script *s, AVCodecContext *avc,
edata_size += inter->inter[i].type == WS_SINE ? 44 :
inter->inter[i].type == WS_NOISE ? 32 : 0;
if (edata_size < 0)
- return AVERROR(E
OVERFLOW
);
+ return AVERROR(E
NOMEM
);
}
edata = av_malloc(edata_size);
if (!edata)