[vlc-devel] commit: Cosmetics. (Laurent Aimar )

git version control git at videolan.org
Wed Oct 15 21:30:43 CEST 2008


vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Mon Oct 13 22:15:38 2008 +0200| [db7ba95634c3ffe26a661f07676062e8c6b2a72c] | committer: Laurent Aimar 

Cosmetics.

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

 src/input/decoder.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/src/input/decoder.c b/src/input/decoder.c
index bbc01aa..7573cff 100644
--- a/src/input/decoder.c
+++ b/src/input/decoder.c
@@ -1000,6 +1000,7 @@ static void DecoderPlayAudio( decoder_t *p_dec, aout_buffer_t *p_audio,
             p_audio = p_owner->buffer.p_audio;
 
             p_owner->buffer.p_audio = p_audio->p_next;
+            p_owner->buffer.i_count--;
 
             b_has_more = p_owner->buffer.p_audio != NULL;
             if( !b_has_more )
@@ -1254,6 +1255,7 @@ static void DecoderPlayVideo( decoder_t *p_dec, picture_t *p_picture,
             p_picture = p_owner->buffer.p_picture;
 
             p_owner->buffer.p_picture = p_picture->p_next;
+            p_owner->buffer.i_count--;
 
             b_has_more = p_owner->buffer.p_picture != NULL;
             if( !b_has_more )
@@ -1447,6 +1449,7 @@ static void DecoderPlaySpu( decoder_t *p_dec, subpicture_t *p_subpic,
             p_subpic = p_owner->buffer.p_subpic;
 
             p_owner->buffer.p_subpic = p_subpic->p_next;
+            p_owner->buffer.i_count--;
 
             b_has_more = p_owner->buffer.p_subpic != NULL;
             if( !b_has_more )




More information about the vlc-devel mailing list