[FFmpeg-devel] [PATCH] libavformat/dashdec: Fix for un-free memory - bug # 7338

Carl Eugen Hoyos ceffmpeg at gmail.com
Thu Aug 9 01:00:40 EEST 2018


2018-08-08 19:27 GMT+02:00, Colin NG <colin_ng at hotmail.com>:
> ---
>  libavformat/dashdec.c | 1 -
>  1 file changed, 1 deletion(-)
>
> diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c
> index 09b06ef..5730252 100644
> --- a/libavformat/dashdec.c
> +++ b/libavformat/dashdec.c
> @@ -1879,7 +1879,6 @@ static int is_common_init_section_exist(struct
> representation **pls, int n_pls)
>
>  static void copy_init_section(struct representation *rep_dest, struct
> representation *rep_src)
>  {
> -    *rep_dest->init_section = *rep_src->init_section;

Patch applied.

Thank you, Carl Eugen


More information about the ffmpeg-devel mailing list