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); ///////////////////////////////////////////////////////////////