Commit 2c4674bf authored by conrad's avatar conrad
Browse files

oggz_auto.c: wrap "size parsing failed for VORBIS mode packets" warning in ifdef DEBUG

Patch from Chris Double, closes ticket:431. See also
https://bugzilla.mozilla.org/show_bug.cgi?id=450891


git-svn-id: http://svn.annodex.net/liboggz/trunk@3784 8158c8cd-e7e1-0310-9fa4-c5954c97daef
parent 2d2faa71
...@@ -829,10 +829,12 @@ auto_calc_vorbis(ogg_int64_t now, oggz_stream_t *stream, ogg_packet *op) { ...@@ -829,10 +829,12 @@ auto_calc_vorbis(ogg_int64_t now, oggz_stream_t *stream, ogg_packet *op) {
} }
size_check += 1; size_check += 1;
#ifdef DEBUG
if (size_check != size) if (size_check != size)
{ {
printf("WARNING: size parsing failed for VORBIS mode packets\n"); printf("WARNING: size parsing failed for VORBIS mode packets\n");
} }
#endif
/* /*
* store mode size information in our info struct * store mode size information in our info struct
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment