OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7889f52
)
Replace ENOSYS by ENOTSUP as in this case the problem is not really a function
author
Panagiotis Issaris
<takis.issaris@uhasselt.be>
Fri, 20 Jul 2007 08:05:27 +0000
(08:05 +0000)
committer
Panagiotis Issaris
<takis.issaris@uhasselt.be>
Fri, 20 Jul 2007 08:05:27 +0000
(08:05 +0000)
which is not available, but a media type which is not supported.
Originally committed as revision 9768 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/vocenc.c
patch
|
blob
|
history
diff --git
a/libavformat/vocenc.c
b/libavformat/vocenc.c
index
12ca34c
..
988533d
100644
(file)
--- a/
libavformat/vocenc.c
+++ b/
libavformat/vocenc.c
@@
-34,7
+34,7
@@
static int voc_write_header(AVFormatContext *s)
if (s->nb_streams != 1
|| s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO)
- return AVERROR(ENO
SYS
);
+ return AVERROR(ENO
TSUP
);
put_buffer(pb, voc_magic, sizeof(voc_magic) - 1);
put_le16(pb, header_size);