From 5ae5c66256b8271fddbe81b13fb7857d0d842ef8 Mon Sep 17 00:00:00 2001 From: ziyue <1213642868@qq.com> Date: Tue, 28 Dec 2021 21:29:00 +0800 Subject: [PATCH] =?UTF-8?q?Typo:=20=E4=BF=AE=E5=A4=8D=E6=8B=BC=E5=86=99?= =?UTF-8?q?=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Record/MPEG.cpp | 2 +- src/Record/MPEG.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Record/MPEG.cpp b/src/Record/MPEG.cpp index bb5e9e6b..6f8eb85e 100644 --- a/src/Record/MPEG.cpp +++ b/src/Record/MPEG.cpp @@ -114,7 +114,7 @@ int mpeg_muxer_remove_program(mpeg_muxer_t *muxer, uint16_t pn) { return mpeg_ts_remove_program(muxer->u.ts.ctx, pn); } -int peg_muxer_add_program_stream(mpeg_muxer_t *muxer, uint16_t pn, int codecid, const void *extra_data, size_t extra_data_size) { +int mpeg_muxer_add_program_stream(mpeg_muxer_t *muxer, uint16_t pn, int codecid, const void *extra_data, size_t extra_data_size) { assert(muxer); if (muxer->is_ps) { return -1; diff --git a/src/Record/MPEG.h b/src/Record/MPEG.h index ab271c01..1f99ae67 100644 --- a/src/Record/MPEG.h +++ b/src/Record/MPEG.h @@ -35,7 +35,7 @@ int mpeg_muxer_input(mpeg_muxer_t *muxer, int stream, int flags, int64_t pts, in int mpeg_muxer_reset(mpeg_muxer_t *muxer); int mpeg_muxer_add_program(mpeg_muxer_t *muxer, uint16_t pn, const void *info, int bytes); int mpeg_muxer_remove_program(mpeg_muxer_t *muxer, uint16_t pn); -int peg_muxer_add_program_stream(mpeg_muxer_t *muxer, uint16_t pn, int codecid, const void *extra_data, size_t extra_data_size); +int mpeg_muxer_add_program_stream(mpeg_muxer_t *muxer, uint16_t pn, int codecid, const void *extra_data, size_t extra_data_size); ///////////////////////////////////////////////////////////////