summaryrefslogtreecommitdiff
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-03-09 16:30:03 +0100
committerDiego Biurrun <diego@biurrun.de>2013-03-12 11:09:45 +0100
commita4472ac01e86f9fae5adb9034f2777b86a9c5480 (patch)
tree80d9a366c765596141b9468c7fd0dd89af4dfd58 /libavformat/spdifenc.c
parent8f10f1a6dc0d326a146e169860a2de7a8356fdab (diff)
Add informative messages to av_log_ask_for_sample calls lacking them
Diffstat (limited to 'libavformat/spdifenc.c')
-rw-r--r--libavformat/spdifenc.c3
1 files changed, 1 insertions, 2 deletions
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;
}