aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/spdifenc.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-13 14:03:22 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-13 14:03:22 +0100
commit849f015406e77921a2adbe05e58b0e65cbf035c5 (patch)
tree05a8b30cd52af9bbaf0ca6be59a2aae079600077 /libavformat/spdifenc.c
parenta62fced394825101b202a8bc6055e4932b371089 (diff)
parenta4472ac01e86f9fae5adb9034f2777b86a9c5480 (diff)
downloadffmpeg-849f015406e77921a2adbe05e58b0e65cbf035c5.tar.gz
Merge commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480'
* commit 'a4472ac01e86f9fae5adb9034f2777b86a9c5480': Add informative messages to av_log_ask_for_sample calls lacking them anm: Get rid of some very silly goto statements Conflicts: libavformat/anm.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
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 aaf0568763..41ed724759 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;
}