[vlc-commits] demux: avi: fix Kbps in debug

Francois Cartegnie git at videolan.org
Fri Nov 11 14:18:56 CET 2016


vlc | branch: master | Francois Cartegnie <fcvlcdev at free.fr> | Fri Nov 11 13:44:34 2016 +0100| [a6330f6837bcb32d345385c69ee10a201e9b7417] | committer: Francois Cartegnie

demux: avi: fix Kbps in debug

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

 modules/demux/avi/libavi.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/modules/demux/avi/libavi.c b/modules/demux/avi/libavi.c
index 4f1560e..467955b 100644
--- a/modules/demux/avi/libavi.c
+++ b/modules/demux/avi/libavi.c
@@ -439,12 +439,12 @@ static int AVI_ChunkRead_strf( stream_t *s, avi_chunk_t *p_chk )
             }
 #ifdef AVI_DEBUG
             msg_Dbg( (vlc_object_t*)s,
-                     "strf: audio:0x%4.4x channels:%d %dHz %dbits/sample %dkb/s",
+                     "strf: audio:0x%4.4x channels:%d %dHz %dbits/sample %dkbps",
                      p_chk->strf.auds.p_wf->wFormatTag,
                      p_chk->strf.auds.p_wf->nChannels,
                      p_chk->strf.auds.p_wf->nSamplesPerSec,
                      p_chk->strf.auds.p_wf->wBitsPerSample,
-                     p_chk->strf.auds.p_wf->nAvgBytesPerSec * 8 / 1024 );
+                     p_chk->strf.auds.p_wf->nAvgBytesPerSec * 8 / 1000 );
 #endif
             break;
         case( AVIFOURCC_vids ):



More information about the vlc-commits mailing list