return AVERROR_INVALIDDATA;
}
if (bom == 0xFFFE) {
- av_log_ask_for_sample(s, "unsupported byte order");
+ av_log_ask_for_sample(s, "unsupported byte order\n");
return AVERROR_PATCHWELCOME;
}
case 1: codec = AV_CODEC_ID_PCM_S16BE_PLANAR; break;
case 2: codec = AV_CODEC_ID_ADPCM_THP; break;
default:
- av_log_ask_for_sample(s, "unsupported codec: %d", codec);
+ av_log_ask_for_sample(s, "unsupported codec: %d\n", codec);
return AVERROR_PATCHWELCOME;
}
goto fail;
}
avio_skip(s->pb, start - avio_tell(s->pb));
+
+ if (major!=1 || minor)
+ av_log_ask_for_sample(s, "Version %d.%d\n", major, minor);
+
return 0;
default:
av_log(s, AV_LOG_WARNING, "skipping unknown chunk: %X\n", chunk);