diff mbox series

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

Message ID 20210411052736.1698-1-ffmpeg@gyani.pro
State Accepted
Commit 309e3cc15c87234861fe127614e09023f3867523
Headers show
Series [FFmpeg-devel] avformat/rawenc: perform stream checks for mp2 muxer
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate success Make fate finished

Commit Message

Gyan Doshi April 11, 2021, 5:27 a.m. UTC
---
 libavformat/rawenc.c | 1 +
 1 file changed, 1 insertion(+)

Comments

Carl Eugen Hoyos April 11, 2021, 10:46 a.m. UTC | #1
Am So., 11. Apr. 2021 um 07:28 Uhr schrieb Gyan Doshi <ffmpeg@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
Gyan Doshi April 11, 2021, 11:17 a.m. UTC | #2
On 2021-04-11 16:16, Carl Eugen Hoyos wrote:
> Am So., 11. Apr. 2021 um 07:28 Uhr schrieb Gyan Doshi <ffmpeg@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.

Pushed as 309e3cc15c87234861fe127614e09023f3867523

Thanks,
Gyan
diff mbox series

Patch

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