Skip to content

Commit 243c464

Browse files
committed
Revert "使用mov容器替换mp4容器,支持音频编码格式为g711的视频录制"
This reverts commit 68691c0.
1 parent 4008ac7 commit 243c464

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ijkmedia/ijkplayer/ff_ffplay.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5399,7 +5399,7 @@ int ffp_start_record(FFPlayer *ffp, const char *file_name)
53995399
goto end;
54005400
}
54015401
// 初始化一个用于输出的AVFormatContext结构体
5402-
avformat_alloc_output_context2(&ffp->m_ofmt_ctx, NULL, "mov", file_name);
5402+
avformat_alloc_output_context2(&ffp->m_ofmt_ctx, NULL, "mp4", file_name);
54035403
if (!ffp->m_ofmt_ctx) {
54045404
av_log(ffp, AV_LOG_ERROR, "===Could not create output context filename is %s\n", file_name);
54055405
goto end;

0 commit comments

Comments
 (0)