]> git.sesse.net Git - vlc/blobdiff - modules/codec/aes3.c
converter_float: audio filter2
[vlc] / modules / codec / aes3.c
index 20d5f75c177ad5b94292447de7d9d02aa95e8ca8..5639cffadf8ef1da17a2bc840c809f91aa1f9624 100644 (file)
@@ -134,8 +134,9 @@ static aout_buffer_t *Decode( decoder_t *p_dec, block_t **pp_block )
     if( p_aout_buffer == NULL )
         goto exit;
 
-    p_aout_buffer->start_date = date_Get( &p_sys->end_date );
-    p_aout_buffer->end_date = date_Increment( &p_sys->end_date, i_frame_length );
+    p_aout_buffer->i_pts = date_Get( &p_sys->end_date );
+    p_aout_buffer->i_length = date_Increment( &p_sys->end_date,
+                                      i_frame_length ) - p_aout_buffer->i_pts;
 
     p_block->i_buffer -= AES3_HEADER_LEN;
     p_block->p_buffer += AES3_HEADER_LEN;