Changeset 7fb39a20fb453c06634407612af7f64bd28acc00

Show
Ignore:
Timestamp:
22/12/02 18:08:42 (6 years ago)
Author:
Sam Hocevar <sam@videolan.org>
git-committer:
Sam Hocevar <sam@videolan.org> 1040576922 +0000
git-parent:

[a7a66d7a5de8f36f2561445b4a99956202ac9913]

git-author:
Sam Hocevar <sam@videolan.org> 1040576922 +0000
Message:
  • ./src/audio_output/input.c: fixed a side-effect problem in buffer dates
    recalculation (spotted by KKI).
Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • src/audio_output/input.c

    r84ae579 r7fb39a2  
    33 ***************************************************************************** 
    44 * Copyright (C) 2002 VideoLAN 
    5  * $Id: input.c,v 1.27 2002/12/09 00:52:42 babal Exp $ 
     5 * $Id: input.c,v 1.28 2002/12/22 17:08:42 sam Exp $ 
    66 * 
    77 * Authors: Christophe Massiot <massiot@via.ecp.fr> 
     
    327327            p_input->pp_resamplers[0]->input.i_rate = p_input->input.i_rate; 
    328328        } 
    329  
    330329    } 
    331330 
    332331    /* Adding the start date will be managed by aout_FifoPush(). */ 
    333     p_buffer->start_date = start_date; 
    334332    p_buffer->end_date = start_date + 
    335333        (p_buffer->end_date - p_buffer->start_date); 
     334    p_buffer->start_date = start_date; 
    336335 
    337336    /* Actually run the resampler now. */