From 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Mon, 25 Feb 2013 23:54:28 +0100 Subject: avformat: av_log_ask_for_sample() ---> avpriv_request_sample() --- libavformat/mxfdec.c | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'libavformat/mxfdec.c') diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c index 18f7b26fa1..7e3a690010 100644 --- a/libavformat/mxfdec.c +++ b/libavformat/mxfdec.c @@ -396,8 +396,7 @@ static int mxf_read_primer_pack(void *arg, AVIOContext *pb, int tag, int size, U int item_len = avio_rb32(pb); if (item_len != 18) { - av_log_ask_for_sample(pb, "unsupported primer pack item length %d\n", - item_len); + avpriv_request_sample(pb, "Primer pack item length %d", item_len); return AVERROR_PATCHWELCOME; } if (item_num > UINT_MAX / item_len) @@ -2027,10 +2026,10 @@ static int mxf_read_packet_old(AVFormatContext *s, AVPacket *pkt) /* if this check is hit then it's possible OPAtom was treated * as OP1a truncate the packet since it's probably very large * (>2 GiB is common) */ - av_log_ask_for_sample(s, - "KLV for edit unit %i extends into next " - "edit unit - OPAtom misinterpreted as " - "OP1a?\n", + avpriv_request_sample(s, + "OPAtom misinterpreted as OP1a?" + "KLV for edit unit %i extending into " + "next edit unit", mxf->current_edit_unit); klv.length = next_ofs - avio_tell(s->pb); } -- cgit v1.2.3