[FFmpeg-devel] [PATCH 09/10] avformat/nutenc: Write size into right dynamic buffer

Andreas Rheinhardt andreas.rheinhardt at gmail.com
Tue May 5 16:31:27 EEST 2020


Michael Niedermayer:
> On Mon, May 04, 2020 at 08:22:49PM +0200, Andreas Rheinhardt wrote:
>> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
>> ---
>>  libavformat/nutenc.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
>>
>> diff --git a/libavformat/nutenc.c b/libavformat/nutenc.c
>> index 5735055d19..6df7dfe210 100644
>> --- a/libavformat/nutenc.c
>> +++ b/libavformat/nutenc.c
>> @@ -902,7 +902,7 @@ static int write_sm_data(AVFormatContext *s, AVIOContext *bc, AVPacket *pkt, int
>>                      put_str(dyn_bc, "ChannelLayout");
>>                      put_s(dyn_bc, -2);
>>                      put_str(dyn_bc, "u64");
>> -                    put_v(bc, 8);
>> +                    put_v(dyn_bc, 8);
>>                      avio_write(dyn_bc, data, 8); data+=8;
>>                      sm_data_count++;
>>                  }
> 
> muxer/encoder fixes should bump LIBAVFORMAT_VERSION_MICRO so the
> issue can be dectected unambigously on the demuxer side
> 
> thx
> 
> [...]

Added locally. Is the patch then ready to merge (it can be applied
independently of the rest) or not?

- Andreas


More information about the ffmpeg-devel mailing list