From a4472ac01e86f9fae5adb9034f2777b86a9c5480 Mon Sep 17 00:00:00 2001 From: Diego Biurrun Date: Sat, 9 Mar 2013 16:30:03 +0100 Subject: Add informative messages to av_log_ask_for_sample calls lacking them --- libavformat/spdifenc.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'libavformat/spdifenc.c') diff --git a/libavformat/spdifenc.c b/libavformat/spdifenc.c index cf421a7358..fbc757b797 100644 --- a/libavformat/spdifenc.c +++ b/libavformat/spdifenc.c @@ -412,8 +412,7 @@ 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(s, AV_LOG_ERROR, "TrueHD frame too big, %d bytes\n", pkt->size); - av_log_ask_for_sample(s, NULL); + av_log_ask_for_sample(s, "TrueHD frame too big, %d bytes\n", pkt->size); return AVERROR_PATCHWELCOME; } -- cgit v1.2.3