summaryrefslogtreecommitdiff
path: root/ffplay.c
diff options
context:
space:
mode:
authorRyan Martell <rdm4@martellventures.com>2007-03-02 13:26:42 +0000
committerGuillaume Poirier <gpoirier@mplayerhq.hu>2007-03-02 13:26:42 +0000
commitb09b580b4dc118a1eedceee529614ad0fb4e310a (patch)
tree8096fd588ed3c207382a85bce9a590f27fa5b820 /ffplay.c
parent0cbff0275b0cff4021e7026ba6060594225fcab5 (diff)
Fix A/V sync error in ffplay with wmv3/wmav2 medias
patch by Ryan Martell %rdm4 A martellventures P com% Original thread: Date: Feb 28, 2007 10:28 PM Subject: [Ffmpeg-devel] [Patch] Fix A/V sync error in ffplay.... Originally committed as revision 8195 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'ffplay.c')
-rw-r--r--ffplay.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffplay.c b/ffplay.c
index 392f8465c2..237ba93680 100644
--- a/ffplay.c
+++ b/ffplay.c
@@ -1617,7 +1617,7 @@ static int audio_decode_frame(VideoState *is, uint8_t *audio_buf, double *pts_pt
cannot have a precise information */
static int audio_write_get_buf_size(VideoState *is)
{
- return is->audio_hw_buf_size - is->audio_buf_index;
+ return is->audio_buf_size - is->audio_buf_index;
}