Skip to content

Commit

Permalink
Merge pull request #8959 from RisingFog/frame_dump_cleanups
Browse files Browse the repository at this point in the history
Remove deprecated ffmpeg code from AVIDump
  • Loading branch information
unknownbrackets committed Sep 6, 2016
2 parents ad0167c + 037328f commit 79f1b19
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Core/AVIDump.cpp
Expand Up @@ -138,14 +138,6 @@ static void PreparePacket(AVPacket* pkt)
av_init_packet(pkt);
pkt->data = nullptr;
pkt->size = 0;
if (s_stream->codec->coded_frame->pts != AV_NOPTS_VALUE)
{
pkt->pts = av_rescale_q(s_stream->codec->coded_frame->pts,
s_stream->codec->time_base, s_stream->time_base);
}
if (s_stream->codec->coded_frame->key_frame)
pkt->flags |= AV_PKT_FLAG_KEY;
pkt->stream_index = s_stream->index;
}

void AVIDump::AddFrame()
Expand Down

0 comments on commit 79f1b19

Please sign in to comment.