[FFmpeg-devel] [PATCH] avformat/rawenc: perform stream checks for mp2 muxer

Carl Eugen Hoyos ceffmpeg at gmail.com
Sun Apr 11 13:46:54 EEST 2021


Am So., 11. Apr. 2021 um 07:28 Uhr schrieb Gyan Doshi <ffmpeg at gyani.pro>:
>
> ---
>  libavformat/rawenc.c | 1 +
>  1 file changed, 1 insertion(+)
>
> diff --git a/libavformat/rawenc.c b/libavformat/rawenc.c
> index caec297f4a..0802d9a831 100644
> --- a/libavformat/rawenc.c
> +++ b/libavformat/rawenc.c
> @@ -433,6 +433,7 @@ AVOutputFormat ff_mp2_muxer = {
>      .extensions        = "mp2,m2a,mpa",
>      .audio_codec       = AV_CODEC_ID_MP2,
>      .video_codec       = AV_CODEC_ID_NONE,
> +    .init              = force_one_stream,

Please push.

Carl Eugen


More information about the ffmpeg-devel mailing list