Mercurial > libavformat.hg
changeset 2277:456e19bc6cf7 libavformat
Replace ENOSYS by ENOTSUP as in this case the problem is not really a function
which is not available, but a media type which is not supported.
author | takis |
---|---|
date | Fri, 20 Jul 2007 08:05:27 +0000 |
parents | 3c1e2d519277 |
children | 5e5e2df75af3 |
files | vocenc.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/vocenc.c Thu Jul 19 15:38:33 2007 +0000 +++ b/vocenc.c Fri Jul 20 08:05:27 2007 +0000 @@ -34,7 +34,7 @@ if (s->nb_streams != 1 || s->streams[0]->codec->codec_type != CODEC_TYPE_AUDIO) - return AVERROR(ENOSYS); + return AVERROR(ENOTSUP); put_buffer(pb, voc_magic, sizeof(voc_magic) - 1); put_le16(pb, header_size);