[FFmpeg-cvslog] r9768 - trunk/libavformat/vocenc.c
takis
subversion
Fri Jul 20 10:05:28 CEST 2007
Author: takis
Date: Fri Jul 20 10:05:27 2007
New Revision: 9768
Log:
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.
Modified:
trunk/libavformat/vocenc.c
Modified: trunk/libavformat/vocenc.c
==============================================================================
--- trunk/libavformat/vocenc.c (original)
+++ trunk/libavformat/vocenc.c Fri Jul 20 10:05:27 2007
@@ -34,7 +34,7 @@ static int voc_write_header(AVFormatCont
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);
More information about the ffmpeg-cvslog
mailing list