On Sat, Feb 14, 2015 at 03:55:14PM +0530, Himangi Saraogi wrote:
> --- a/libavcodec/qdm2.c
> +++ b/libavcodec/qdm2.c
> @@ -1778,18 +1778,19 @@ static av_cold int qdm2_decode_init(AVCodecContext
> *avctx)
> if (extradata[7] == 'C') {
> // s->is_qdmc = 1;
> - av_log(avctx, AV_LOG_ERROR, "stream is QDMC version 1, which is not
> supported\n");
> - return -1;
> + avpriv_report_missing_feature(avctx,
> + "QDM2 decoder for QDMC version 1\n");
> + return AVERROR_PATCHWELCOME;
No, look at what avpriv_report_missing_feature() prints (libavutil/log.c):
av_log(avc, AV_LOG_WARNING, " is not implemented. Update your Libav "
"version to the newest one from Git. If the problem still "
"occurs, it means that your file has a feature which has not "
"been implemented.\n");
You should not add a spurious linebreak. Just "QDMC version 1" is enough
as message.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel