Module: libav
Branch: master
Commit: 2e13f579930af93cf3f53a3424a9df009b34c79e

Author:    Mashiat Sarker Shakkhar <[email protected]>
Committer: Diego Biurrun <[email protected]>
Date:      Fri Apr 13 14:00:21 2012 -0700

wmal: Warn about missing bitstream splicing feature and ask for sample.

Signed-off-by: Diego Biurrun <[email protected]>

---

 libavcodec/wmalosslessdec.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/libavcodec/wmalosslessdec.c b/libavcodec/wmalosslessdec.c
index 46655db..1139392 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);

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to