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

Tristan Matthews git at videolan.org
Wed Jul 3 22:00:01 CEST 2013


vlc | branch: master | Tristan Matthews <le.businessman at gmail.com> | Wed Jul  3 15:54:01 2013 -0400| [2428c90cbbf3c75167d660925b7d7ec6f8ded79e] | committer: Rafaël Carré

flac: add warning message for decoder error 3

Signed-off-by: Rafaël Carré <funman at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2428c90cbbf3c75167d660925b7d7ec6f8ded79e
---

 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 );
     }



More information about the vlc-commits mailing list