[FFmpeg-devel] [PATCH 1/4] ffmpeg: remove unused meta_data_maps.

Stefano Sabatini stefasab at gmail.com
Sat Mar 24 11:41:31 CET 2012


On date Thursday 2012-03-22 16:50:38 +0100, Clément Bœsch encoded:
> From: Clément Bœsch <clement.boesch at smartjog.com>
> 
> This is unused since a7b5e841ffe4b0f8423288965b8d069bd2a7a792.
> ---
>  ffmpeg.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 
> diff --git a/ffmpeg.c b/ffmpeg.c
> index 2a64182..5606f17 100644
> --- a/ffmpeg.c
> +++ b/ffmpeg.c
> @@ -360,9 +360,6 @@ typedef struct OptionsContext {
>      int     nb_stream_maps;
>      AudioChannelMap *audio_channel_maps; ///< one info entry per -map_channel
>      int           nb_audio_channel_maps; ///< number of (valid) -map_channel settings
> -    /* first item specifies output metadata, second is input */
> -    MetadataMap (*meta_data_maps)[2];
> -    int nb_meta_data_maps;
>      int metadata_global_manual;
>      int metadata_streams_manual;
>      int metadata_chapters_manual;
> @@ -461,7 +458,6 @@ static void reset_options(OptionsContext *o, int is_input)
>  
>      av_freep(&o->stream_maps);
>      av_freep(&o->audio_channel_maps);
> -    av_freep(&o->meta_data_maps);
>      av_freep(&o->streamid_map);
>  
>      memset(o, 0, sizeof(*o));

After checking the source, I confirm it is not used anymore indeed, so
looks fine.
-- 
FFmpeg = Fancy & Friendly Miracolous Political Empowered Gangster


More information about the ffmpeg-devel mailing list