diff --git a/postprocessing/pp-h264.c b/postprocessing/pp-h264.c index 88256b2efb..20619704a4 100644 --- a/postprocessing/pp-h264.c +++ b/postprocessing/pp-h264.c @@ -74,7 +74,6 @@ int janus_pp_h264_create(char *destination, char *metadata, gboolean faststart, return -1; } fctx->video_codec = codec; - fctx->oformat->video_codec = codec->id; vStream = avformat_new_stream(fctx, codec); vStream->id = fctx->nb_streams-1; vEncoder = avcodec_alloc_context3(codec); diff --git a/postprocessing/pp-h265.c b/postprocessing/pp-h265.c index 36ed6dca4b..fd5190aae7 100644 --- a/postprocessing/pp-h265.c +++ b/postprocessing/pp-h265.c @@ -74,7 +74,6 @@ int janus_pp_h265_create(char *destination, char *metadata, gboolean faststart, return -1; } fctx->video_codec = codec; - fctx->oformat->video_codec = codec->id; vStream = avformat_new_stream(fctx, codec); vStream->id = fctx->nb_streams-1; vEncoder = avcodec_alloc_context3(codec);