Commit b910bd11 authored by michael's avatar michael

10l


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@3268 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent e7f0fe91
...@@ -1019,7 +1019,7 @@ static int output_packet(AVInputStream *ist, int ist_index, ...@@ -1019,7 +1019,7 @@ static int output_packet(AVInputStream *ist, int ist_index,
short samples[AVCODEC_MAX_AUDIO_FRAME_SIZE / 2]; short samples[AVCODEC_MAX_AUDIO_FRAME_SIZE / 2];
void *buffer_to_free; void *buffer_to_free;
if (pkt && pkt->pts != AV_NOPTS_VALUE) { //FIXME seems redundant, as libavformat does this too if (pkt && pkt->dts != AV_NOPTS_VALUE) { //FIXME seems redundant, as libavformat does this too
ist->next_pts = ist->pts = pkt->dts; ist->next_pts = ist->pts = pkt->dts;
} else { } else {
ist->pts = ist->next_pts; ist->pts = ist->next_pts;
......
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