[FFmpeg-devel] [PATCH v4 1/2] avformat/riffdec: change declaration of ff_get_wav_header()

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Sun Feb 2 21:26:24 EET 2025


Viraaj Raulgaonkar:
> Change the type of logctx from void* to AVFormatContext*, since all
> calls to ff_get_wav_header() pass an AVFormatContext* anyway.

This change makes it appear as if it were better to always pass an
AVFormatContext* in such cases. But it is not so. Better commit message
would be "This is in preparation for the following commit."

- Andreas



More information about the ffmpeg-devel mailing list