diff --git a/record/ffemu.c b/record/ffemu.c index af11283702..b8e5ea40cf 100644 --- a/record/ffemu.c +++ b/record/ffemu.c @@ -502,13 +502,10 @@ static int ffemu_push_audio_thread(ffemu_t *handle, const struct ffemu_audio_dat pkt.size = out_size; -#if 0 if (handle->audio.codec->coded_frame && handle->audio.codec->coded_frame->pts != AV_NOPTS_VALUE) pkt.pts = av_rescale_q(handle->audio.codec->coded_frame->pts, handle->audio.codec->time_base, handle->muxer.astream->time_base); else pkt.pts = av_rescale_q(handle->audio.frame_cnt, handle->audio.codec->time_base, handle->muxer.astream->time_base); -#endif - pkt.pts = av_rescale_q(handle->audio.frame_cnt, handle->audio.codec->time_base, handle->muxer.astream->time_base); pkt.flags |= AV_PKT_FLAG_KEY; handle->audio.frames_in_buffer = 0;