# HG changeset patch # User takis # Date 1184918727 0 # Node ID 456e19bc6cf7d5fc5d7254f1b97090293e2b93a6 # Parent 3c1e2d519277113abb8472ac4b76e6e932bce767 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. diff -r 3c1e2d519277 -r 456e19bc6cf7 vocenc.c --- 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);