rbcodec: flac: cleanup around LOGF
rockbox-gerrit-noreply--- via rockbox-cvs <[email protected]> Thu, 28 May 2026 05:34:45 -0400
| Newsgroups | gmane.comp.systems.archos.rockbox.cvs |
|---|---|
| Message-ID | <[email protected]> |
commit fa67d29909d9fbef4259a80f3a4d07e382c91bea Author: mojyack <[email protected]> Date: Thu May 28 17:24:44 2026 +0900 rbcodec: flac: cleanup around LOGF Change-Id: I0c3798b8f09e1365712c6173bc5d587f9ea728a8 diff --git a/lib/rbcodec/codecs/flac.c b/lib/rbcodec/codecs/flac.c index cbcf42be3c..7b3685a923 100644 --- a/lib/rbcodec/codecs/flac.c +++ b/lib/rbcodec/codecs/flac.c @@ -468,7 +468,7 @@ enum codec_status codec_run(void) size_t bytesleft; int consumed; int res; -#if defined(LOGF_ENABLE) || defined(DEBUG) +#if defined(LOGF_ENABLE) int frame = 0; #endif intptr_t param; @@ -530,7 +530,7 @@ enum codec_status codec_run(void) return CODEC_ERROR; } consumed=fc.gb.index/8; -#if defined(LOGF_ENABLE) || defined(DEBUG) +#if defined(LOGF_ENABLE) frame++; #endif -- rockbox-cvs mailing list [email protected] https://lists.haxx.se/mailman/listinfo/rockbox-cvs