avformat/rawenc: perform stream checks for mp2 muxer

pull/362/head
Gyan Doshi 4 years ago
parent 5945288818
commit 309e3cc15c
  1. 1
      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,
};

Loading…
Cancel
Save