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

Tristan Matthews git at videolan.org
Fri Jul 5 11:15:16 CEST 2013


vlc/vlc-2.1 | branch: master | Tristan Matthews <le.businessman at gmail.com> | Wed Jul  3 15:54:01 2013 -0400| [cbd1b1b98407c9bf198254ca68d5589784165397] | committer: Jean-Baptiste Kempf

flac: add warning message for decoder error 3

Signed-off-by: Rafaël Carré <funman at videolan.org>
(cherry picked from commit 2428c90cbbf3c75167d660925b7d7ec6f8ded79e)
Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

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

 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