Commit b09b580b authored by Ryan Martell's avatar Ryan Martell Committed by Guillaume Poirier

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
parent 0cbff027
...@@ -1617,7 +1617,7 @@ static int audio_decode_frame(VideoState *is, uint8_t *audio_buf, double *pts_pt ...@@ -1617,7 +1617,7 @@ static int audio_decode_frame(VideoState *is, uint8_t *audio_buf, double *pts_pt
cannot have a precise information */ cannot have a precise information */
static int audio_write_get_buf_size(VideoState *is) 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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment