mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
10l
Originally committed as revision 3268 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
13100292d3
commit
ff90688844
4
ffmpeg.c
4
ffmpeg.c
@ -1019,12 +1019,12 @@ static int output_packet(AVInputStream *ist, int ist_index,
|
||||
short samples[AVCODEC_MAX_AUDIO_FRAME_SIZE / 2];
|
||||
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;
|
||||
} else {
|
||||
ist->pts = ist->next_pts;
|
||||
}
|
||||
|
||||
|
||||
if (pkt == NULL) {
|
||||
/* EOF handling */
|
||||
ptr = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user