Browse Source

sierravmd: fix audio pts

The duration of the first packet was being calculated incorrectly, leading to
an incorrect timestamp offset.
tags/n0.10
Justin Ruggles 13 years ago
parent
commit
e9626eb32e
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavformat/sierravmd.c

+ 1
- 1
libavformat/sierravmd.c View File

@@ -206,7 +206,7 @@ static int vmd_read_header(AVFormatContext *s,
vmd->frame_table[total_frames].pts = current_audio_pts;
total_frames++;
if(!current_audio_pts)
current_audio_pts += sound_buffers;
current_audio_pts += sound_buffers - 1;
else
current_audio_pts++;
break;


Loading…
Cancel
Save