Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-21 Thread Marton Balint
On Tue, 21 Feb 2017, wm4 wrote: On Mon, 20 Feb 2017 21:11:50 +0100 (CET) Marton Balint wrote: On Sun, 19 Feb 2017, Hendrik Leppkes wrote: > On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: >> On Sun, 19 Feb 2017 14:35:42 +0100 >> Marton Balint

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-21 Thread wm4
On Mon, 20 Feb 2017 21:11:50 +0100 (CET) Marton Balint wrote: > On Sun, 19 Feb 2017, Hendrik Leppkes wrote: > > > On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: > >> On Sun, 19 Feb 2017 14:35:42 +0100 > >> Marton Balint wrote: > >> > >>>

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-20 Thread Marton Balint
On Sun, 19 Feb 2017, Hendrik Leppkes wrote: On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: On Sun, 19 Feb 2017 14:35:42 +0100 Marton Balint wrote: Reallocating a wrapped avframe invalidates internal pointers, such as extended data. FFmpeg has another

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Marton Balint
On Sun, 19 Feb 2017, Hendrik Leppkes wrote: On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: On Sun, 19 Feb 2017 14:35:42 +0100 Marton Balint wrote: Reallocating a wrapped avframe invalidates internal pointers, such as extended data. FFmpeg has another

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread wm4
On Sun, 19 Feb 2017 14:49:34 +0100 Hendrik Leppkes wrote: > On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: > > On Sun, 19 Feb 2017 14:35:42 +0100 > > Marton Balint wrote: > > > >> Reallocating a wrapped avframe invalidates internal

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Hendrik Leppkes
On Sun, Feb 19, 2017 at 2:41 PM, wm4 wrote: > On Sun, 19 Feb 2017 14:35:42 +0100 > Marton Balint wrote: > >> Reallocating a wrapped avframe invalidates internal pointers, such as >> extended >> data. >> >> FFmpeg has another way of passing AVFrames to

Re: [FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread wm4
On Sun, 19 Feb 2017 14:35:42 +0100 Marton Balint wrote: > Reallocating a wrapped avframe invalidates internal pointers, such as extended > data. > > FFmpeg has another way of passing AVFrames to muxers, but it seems the API > (av_write_uncoded_frame) is not implemented in the

[FFmpeg-devel] [PATCHv2] avcodec/utils: do not reallocate packet buffer for AV_CODEC_ID_WRAPPED_AVFRAME

2017-02-19 Thread Marton Balint
Reallocating a wrapped avframe invalidates internal pointers, such as extended data. FFmpeg has another way of passing AVFrames to muxers, but it seems the API (av_write_uncoded_frame) is not implemented in the ffmpeg CLI yet. Signed-off-by: Marton Balint --- libavcodec/utils.c