mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-20 14:20:51 +00:00
10l
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
13100292d3
commit
ff90688844
2
ffmpeg.c
2
ffmpeg.c
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user