Commit c4428190 authored by Stefano Sabatini's avatar Stefano Sabatini

ffplay: remove misleading comment from audio_decode_frame()

parent 02af4e9a
...@@ -2194,7 +2194,6 @@ static int audio_decode_frame(VideoState *is) ...@@ -2194,7 +2194,6 @@ static int audio_decode_frame(VideoState *is)
resampled_data_size = data_size; resampled_data_size = data_size;
} }
/* if no pts, then compute it */
audio_clock0 = is->audio_clock; audio_clock0 = is->audio_clock;
is->audio_clock += (double)data_size / is->audio_clock += (double)data_size /
(is->frame->channels * is->frame->sample_rate * av_get_bytes_per_sample(is->frame->format)); (is->frame->channels * is->frame->sample_rate * av_get_bytes_per_sample(is->frame->format));
......
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