init duration to 0 to quieten compiler

This commit is contained in:
Isaac Connor 2017-05-20 08:35:06 -04:00
parent 1ab8530aed
commit 3e426b87d3
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ void VideoStore::dumpPacket( AVPacket *pkt ){
int VideoStore::writeVideoFramePacket( AVPacket *ipkt ) {
av_init_packet(&opkt);
int duration;
int duration = 0;
//Scale the PTS of the outgoing packet to be the correct time base
if (ipkt->pts != AV_NOPTS_VALUE) {