[FFmpeg-devel] [RFC PATCH 3/3] HACK: avformat: rawenc: allow to output a raw PRFT

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Thu Sep 21 23:51:06 EEST 2023


Michael Niedermayer:
> On Thu, Sep 21, 2023 at 02:17:00PM +0200, Clément Péron wrote:
>> Output the producer reference time to a dirty raw output.
>>
>> Signed-off-by: Clément Péron <peron.clem at gmail.com>
>> ---
>>  libavformat/rawenc.c | 122 +++++++++++++++++++++++++++++++++++++++++++
>>  1 file changed, 122 insertions(+)
> 
> this breaks fate-filter-volume and others
> (Segmentation fault)
> 
> I can rerun it with debug symbols and provide peoper gdb output
> but i suspect given this has "HACK" in the title you are aware of this
> 

The reason is that this patch presumes that every user of
ff_raw_write_packet() uses the newly added RawVideoContext as context,
but that is just not true.

- Andreas



More information about the ffmpeg-devel mailing list