mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/rawenc: perform stream checks for mp2 muxer
This commit is contained in:
parent
5945288818
commit
309e3cc15c
|
@ -433,6 +433,7 @@ AVOutputFormat ff_mp2_muxer = {
|
||||||
.extensions = "mp2,m2a,mpa",
|
.extensions = "mp2,m2a,mpa",
|
||||||
.audio_codec = AV_CODEC_ID_MP2,
|
.audio_codec = AV_CODEC_ID_MP2,
|
||||||
.video_codec = AV_CODEC_ID_NONE,
|
.video_codec = AV_CODEC_ID_NONE,
|
||||||
|
.init = force_one_stream,
|
||||||
.write_packet = ff_raw_write_packet,
|
.write_packet = ff_raw_write_packet,
|
||||||
.flags = AVFMT_NOTIMESTAMPS,
|
.flags = AVFMT_NOTIMESTAMPS,
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue