This commit is contained in:
Isaac Connor 2016-06-21 12:25:13 -04:00
parent 2304806bcc
commit dfc885a12a
1 changed files with 269 additions and 270 deletions

View File

@ -35,7 +35,8 @@ extern "C"{
VideoStore::VideoStore(const char *filename_in, const char *format_in, VideoStore::VideoStore(const char *filename_in, const char *format_in,
AVStream *input_st, AVStream *input_st,
AVStream *inpaud_st, AVStream *inpaud_st,
int64_t nStartTime) { int64_t nStartTime
) {
AVDictionary *pmetadata = NULL; AVDictionary *pmetadata = NULL;
int dsr; int dsr;
@ -267,11 +268,9 @@ int VideoStore::writeVideoFramePacket(AVPacket *ipkt, AVStream *input_st){//, AV
} }
} }
av_free_packet(&opkt); av_free_packet(&opkt);
return 0; return 0;
} }
int VideoStore::writeAudioFramePacket(AVPacket *ipkt, AVStream *input_st){ int VideoStore::writeAudioFramePacket(AVPacket *ipkt, AVStream *input_st){