diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2021-04-11 10:55:57 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2021-04-11 16:46:08 +0530 |
commit | 309e3cc15c87234861fe127614e09023f3867523 (patch) | |
tree | 7a062d66332e28f734a9817dc94c3fcc455bd7bf | |
parent | 5945288818b98682884888e3800893b2f2ac7507 (diff) | |
download | ffmpeg-309e3cc15c87234861fe127614e09023f3867523.tar.gz |
avformat/rawenc: perform stream checks for mp2 muxer
-rw-r--r-- | libavformat/rawenc.c | 1 |
1 files changed, 1 insertions, 0 deletions
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, .write_packet = ff_raw_write_packet, .flags = AVFMT_NOTIMESTAMPS, }; |