Commit 82ee2c4b authored by takis's avatar takis

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.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9768 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 075e6719
......@@ -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(ENOSYS);
return AVERROR(ENOTSUP);
put_buffer(pb, voc_magic, sizeof(voc_magic) - 1);
put_le16(pb, header_size);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment