1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-10 06:10:52 +02:00

avformat/rawenc: perform stream checks for mp2 muxer

This commit is contained in:
Gyan Doshi
2021-04-11 10:55:57 +05:30
parent 5945288818
commit 309e3cc15c

View File

@@ -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,
};