[haiku-commits] haiku: hrev43615 - src/add-ons/media/plugins/ffmpeg/libavcodec

  • From: stpere@xxxxxxxxx
  • To: haiku-commits@xxxxxxxxxxxxx
  • Date: Wed, 4 Jan 2012 04:50:01 +0100 (CET)

hrev43615 adds 1 changeset to branch 'master'
old head: 9d991e3c9930a5cf147a4755331c2e7274b0a111
new head: 1923ea178ddccb6e3236aa4e1f8cddf1583d5701

----------------------------------------------------------------------------

1923ea1: ffmpeg: infinite loop (als decoder)
  
  CID 3176.  Patch proposed upstream.

                                [ Philippe Saint-Pierre <stpere@xxxxxxxxx> ]

----------------------------------------------------------------------------

Revision:    hrev43615
Commit:      1923ea178ddccb6e3236aa4e1f8cddf1583d5701
URL:         http://cgit.haiku-os.org/haiku/commit/?id=1923ea1
Author:      Philippe Saint-Pierre <stpere@xxxxxxxxx>
Date:        Wed Jan  4 03:49:01 2012 UTC

----------------------------------------------------------------------------

1 files changed, 1 insertions(+), 1 deletions(-)
.../media/plugins/ffmpeg/libavcodec/alsdec.c       |    2 +-

----------------------------------------------------------------------------

diff --git a/src/add-ons/media/plugins/ffmpeg/libavcodec/alsdec.c 
b/src/add-ons/media/plugins/ffmpeg/libavcodec/alsdec.c
index 2058a85..4006a1a 100644
--- a/src/add-ons/media/plugins/ffmpeg/libavcodec/alsdec.c
+++ b/src/add-ons/media/plugins/ffmpeg/libavcodec/alsdec.c
@@ -992,7 +992,7 @@ static void zero_remaining(unsigned int b, unsigned int 
b_max,
     unsigned int count = 0;
 
     while (b < b_max)
-        count += div_blocks[b];
+        count += div_blocks[b++];
 
     if (count)
         memset(buf, 0, sizeof(*buf) * count);


Other related posts:

  • » [haiku-commits] haiku: hrev43615 - src/add-ons/media/plugins/ffmpeg/libavcodec - stpere