wmal: Warn about missing bitstream splicing feature and ask for sample.
authorMashiat Sarker Shakkhar <mashiat.sarker@gmail.com>
Fri, 13 Apr 2012 21:00:21 +0000 (14:00 -0700)
committerDiego Biurrun <diego@biurrun.de>
Sat, 14 Apr 2012 14:02:24 +0000 (16:02 +0200)
Signed-off-by: Diego Biurrun <diego@biurrun.de>
libavcodec/wmalosslessdec.c

index 46655db..1139392 100644 (file)
@@ -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);