Revision d6a93490 libavformat/avienc.c

View differences:

libavformat/avienc.c
225 225
        case AVMEDIA_TYPE_SUBTITLE:
226 226
            // XSUB subtitles behave like video tracks, other subtitles
227 227
            // are not (yet) supported.
228
            if (stream->codec_id != CODEC_ID_XSUB) break;
228
            if (stream->codec_id != CODEC_ID_XSUB) {
229
                av_log(s, AV_LOG_ERROR, "Subtitle streams other than DivX XSUB are not supported by the AVI muxer.\n");
230
                return AVERROR_PATCHWELCOME;
231
            }
229 232
        case AVMEDIA_TYPE_VIDEO: put_tag(pb, "vids"); break;
230 233
        case AVMEDIA_TYPE_AUDIO: put_tag(pb, "auds"); break;
231 234
//        case AVMEDIA_TYPE_TEXT : put_tag(pb, "txts"); break;

Also available in: Unified diff