Browse Source

ffmpeg: free attachments, fix memleak

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
0cecaa9e2e
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      ffmpeg_opt.c

+ 1
- 0
ffmpeg_opt.c View File

@@ -126,6 +126,7 @@ static void uninit_options(OptionsContext *o, int is_input)
av_freep(&o->stream_maps); av_freep(&o->stream_maps);
av_freep(&o->audio_channel_maps); av_freep(&o->audio_channel_maps);
av_freep(&o->streamid_map); av_freep(&o->streamid_map);
av_freep(&o->attachments);


if (is_input) if (is_input)
recording_time = o->recording_time; recording_time = o->recording_time;


Loading…
Cancel
Save