diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 12:41:34 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-03-14 12:41:34 +0100 |
commit | a9ddb624890dd8c334617239793e63d93fbd52ee (patch) | |
tree | d1b6919c46a238f1a9c926106cddb0d283badd60 /libavformat/spdifenc.c | |
parent | fa92ee821bba1d3c2a497ed22e41927b552856f8 (diff) | |
parent | 1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (diff) | |
download | ffmpeg-a9ddb624890dd8c334617239793e63d93fbd52ee.tar.gz |
Merge commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e'
* commit '1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e':
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Conflicts:
libavformat/mxfdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r-- | libavformat/spdifenc.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index 41ed724759..778ab88a15 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -307,7 +307,7 @@ static int spdif_header_dts(AVFormatContext *s, AVPacket *pkt) * discs and dts-in-wav. */ ctx->use_preamble = 0; } else if (ctx->out_bytes > ctx->pkt_offset - BURST_HEADER_SIZE) { - av_log_ask_for_sample(s, "Unrecognized large DTS frame."); + avpriv_request_sample(s, "Unrecognized large DTS frame"); /* This will fail with a "bitrate too high" in the caller */ } @@ -412,7 +412,8 @@ static int spdif_header_truehd(AVFormatContext *s, AVPacket *pkt) if (pkt->size > TRUEHD_FRAME_OFFSET - mat_code_length) { /* if such frames exist, we'd need some more complex logic to * distribute the TrueHD frames in the MAT frame */ - av_log_ask_for_sample(s, "TrueHD frame too big, %d bytes\n", pkt->size); + avpriv_request_sample(s, "Too large TrueHD frame of %d bytes", + pkt->size); return AVERROR_PATCHWELCOME; } |