aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-02-25 23:54:28 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-13 20:42:21 +0100
commit1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e (patch)
treedde426a2250d3b95a4f2d8560272ca6687fbd55b /libavformat/spdifenc.c
parent63d744e2be39466e3a734c2987cd713e0bac101e (diff)
downloadffmpeg-1ecdf8912b9ced51b3267cdcdce5e394d0a3bf8e.tar.gz
avformat: av_log_ask_for_sample() ---> avpriv_request_sample()
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r--libavformat/spdifenc.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c
index fbc757b797..1f37340a8b 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;
}