aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3dec.c
diff options
context:
space:
mode:
authorDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-08 23:06:55 +0100
committerDerek Buitenhuis <derek.buitenhuis@gmail.com>2016-05-08 23:07:01 +0100
commit13b77e09c7e9cb0fdb1aacce454652a38bf04cdd (patch)
tree844c0fefa64ac4221d967f871d4373bc200d469b /libavcodec/ac3dec.c
parent15cb52577a8426b0a1253b8a4c655308f3ef4ba1 (diff)
parent33275a0de05e9bc321f2537a2a67921fab81624f (diff)
downloadffmpeg-13b77e09c7e9cb0fdb1aacce454652a38bf04cdd.tar.gz
Merge commit '33275a0de05e9bc321f2537a2a67921fab81624f'
* commit '33275a0de05e9bc321f2537a2a67921fab81624f': ac3dec: change logging of skipped E-AC-3 substreams. Merged-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Diffstat (limited to 'libavcodec/ac3dec.c')
-rw-r--r--libavcodec/ac3dec.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/libavcodec/ac3dec.c b/libavcodec/ac3dec.c
index f82f3974ef..fac189b6b6 100644
--- a/libavcodec/ac3dec.c
+++ b/libavcodec/ac3dec.c
@@ -1445,8 +1445,9 @@ static int ac3_decode_frame(AVCodecContext * avctx, void *data,
/* skip frame if CRC is ok. otherwise use error concealment. */
/* TODO: add support for substreams and dependent frames */
if (s->frame_type == EAC3_FRAME_TYPE_DEPENDENT || s->substreamid) {
- av_log(avctx, AV_LOG_WARNING, "unsupported frame type : "
- "skipping frame\n");
+ av_log(avctx, AV_LOG_DEBUG,
+ "unsupported frame type %d: skipping frame\n",
+ s->frame_type);
*got_frame_ptr = 0;
return buf_size;
} else {