From 2e13f579930af93cf3f53a3424a9df009b34c79e Mon Sep 17 00:00:00 2001
From: Mashiat Sarker Shakkhar <mashiat.sarker@gmail.com>
Date: Fri, 13 Apr 2012 14:00:21 -0700
Subject: [PATCH] wmal: Warn about missing bitstream splicing feature and ask
 for sample.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
---
 libavcodec/wmalosslessdec.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 46655db7ab3..1139392d6da 100644
--- a/libavcodec/wmalosslessdec.c
+++ b/libavcodec/wmalosslessdec.c
@@ -1182,6 +1182,8 @@ static int decode_packet(AVCodecContext *avctx, void *data, int *got_frame_ptr,
         packet_sequence_number   = get_bits(gb, 4);
         skip_bits(gb, 1);   // Skip seekable_frame_in_packet, currently ununused
         spliced_packet           = get_bits1(gb);
+        if (spliced_packet)
+            av_log_missing_feature(avctx, "Bitstream splicing", 1);
 
         /* get number of bits that need to be added to the previous frame */
         num_bits_prev_frame = get_bits(gb, s->log2_frame_size);
-- 
GitLab