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

Michael Niedermayer michael at niedermayer.cc
Tue May 5 16:36:35 EEST 2020


On Tue, May 05, 2020 at 03:31:27PM +0200, Andreas Rheinhardt wrote:
> 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?

probably ok

thx

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

"Nothing to hide" only works if the folks in power share the values of
you and everyone you know entirely and always will -- Tom Scott

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200505/ecc2c9fa/attachment.sig>


More information about the ffmpeg-devel mailing list