]> git.sesse.net Git - vlc/commitdiff
flac: add warning message for decoder error 3
authorTristan Matthews <le.businessman@gmail.com>
Wed, 3 Jul 2013 19:54:01 +0000 (15:54 -0400)
committerRafaël Carré <funman@videolan.org>
Wed, 3 Jul 2013 19:59:45 +0000 (21:59 +0200)
Signed-off-by: Rafaël Carré <funman@videolan.org>
modules/codec/flac.c

index 6dac9cc7fcf51e194f31f152d1513ff66ec31f4a..b964a27a8481724b6281c1317178916e2e09e288 100644 (file)
@@ -271,6 +271,10 @@ static void DecoderErrorCallback( const FLAC__StreamDecoder *decoder,
         msg_Err( p_dec, "frame's data did not match the CRC in the "
                  "footer." );
         break;
+    case FLAC__STREAM_DECODER_ERROR_STATUS_UNPARSEABLE_STREAM:
+        msg_Err( p_dec, "The decoder encountered reserved fields in use in "
+                 "the stream." );
+        break;
     default:
         msg_Err( p_dec, "got decoder error: %d", status );
     }