diff options
author | Diego Biurrun <diego@biurrun.de> | 2013-02-25 23:54:28 +0100 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2013-03-13 20:42:21 +0100 |
commit | 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (patch) | |
tree | dde426a2250d3b95a4f2d8560272ca6687fbd55b /libavformat/mxfdec.c | |
parent | 63d744e2be39466e3a734c2987cd713e0bac101e (diff) | |
download | ffmpeg-1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e.tar.gz |
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/mxfdec.c')
-rw-r--r-- | libavformat/mxfdec.c | 11 |
1 files changed, 5 insertions, 6 deletions
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); } |