[vlc-devel] [PATCH] flac: add warning message for decoder error 3

Tristan Matthews le.businessman at gmail.com
Wed Jul 3 21:54:01 CEST 2013


From: Tristan Matthews <le.businessman at gmail.com>

---
 modules/codec/flac.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/modules/codec/flac.c b/modules/codec/flac.c
index 6dac9cc..b964a27 100644
--- a/modules/codec/flac.c
+++ b/modules/codec/flac.c
@@ -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 );
     }
-- 
1.8.3.1




More information about the vlc-devel mailing list