胡斌

V2.0.15

1.修改bug: 解码视频文件时,遇到解码错误,直接退出了解码。现改为继续解码后续数据。
... ... @@ -361,8 +361,9 @@ int CAudioDecoder::get_one_frame(AVFrame ** pFrame, int64_t & ts)
&got_frame, &packet);
if (ret < 0) {
av_frame_free(&frame);
av_packet_unref(&packet);
av_log(NULL, AV_LOG_ERROR, "Decoding failed\n");
break;
continue;
}
if (got_frame) {
... ...
... ... @@ -120,3 +120,6 @@ V2.0.13
V2.0.14
1.命令行增加可选参数-v {1|0},在所有输入媒体文件里,没有视频文件时,使用-v 1 参数合成的mp4文件仍然包含视频,-v 0则不含视频
V2.0.15
1.修改bug: 解码视频文件时,遇到解码错误,直接退出了解码。现改为继续解码后续数据。
\ No newline at end of file
... ...
... ... @@ -382,8 +382,9 @@ int CVideoDecoder::get_one_frame(AVFrame ** pFrame, int64_t & ts)
&got_frame, &packet);
if (ret < 0) {
av_frame_free(&frame);
av_packet_unref(&packet);
av_log(NULL, AV_LOG_ERROR, "Decoding failed\n");
break;
continue;
}
if (got_frame) {
... ...
... ... @@ -1303,7 +1303,7 @@ int process_av_files(char * record_info, int piptype, bool one2one_same_size, in
int main(int argc, char * argv[])
{
if (argc < 2) {
printf(" merge_pip 2.0.14\n");
printf(" merge_pip 2.0.15\n");
printf(" merge video files to one pip video according to record info file,\nusage:");
printf("\n %s record_info_filename [-t {0,1,2,3}] [-c codec.cfg] [-s {1,0}] [-r {0,1}] [-k {0,1}] [-v {1,0}]", argv[0]);
printf("\n\n");
... ...