avio_skip(pb, 4); /* magic number */
if (avio_rl16(pb) != MAX_PAGES) {
- av_log_ask_for_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES) "\n");
+ avpriv_request_sample(s, "max_pages != " AV_STRINGIFY(MAX_PAGES));
return AVERROR_PATCHWELCOME;
}
return 0;
invalid:
- av_log_ask_for_sample(s, "Invalid header element encountered.\n");
+ avpriv_request_sample(s, "Invalid header element");
return AVERROR_PATCHWELCOME;
}