[FFmpeg-devel] [PATCH] avcodec/truehd_core_bsf: Remove unused AVClass pointer
James Almer
jamrial at gmail.com
Sun Apr 19 18:00:42 EEST 2020
On 4/17/2020 9:57 PM, Andreas Rheinhardt wrote:
> The context structure of the truehd_core bsf had a pointer to a const
> AVClass as its first member; yet this bsf does not have any AVClass
> associated with it, so that this pointer is always NULL. So remove it.
>
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at gmail.com>
> ---
> libavcodec/truehd_core_bsf.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/libavcodec/truehd_core_bsf.c b/libavcodec/truehd_core_bsf.c
> index dbd05b34ca..dfe291d9e9 100644
> --- a/libavcodec/truehd_core_bsf.c
> +++ b/libavcodec/truehd_core_bsf.c
> @@ -31,8 +31,6 @@ typedef struct AccessUnit {
> } AccessUnit;
>
> typedef struct TrueHDCoreContext {
> - const AVClass *class;
> -
> MLPHeaderInfo hdr;
> } TrueHDCoreContext;
LGTM
More information about the ffmpeg-devel
mailing list