mirror of https://github.com/FFmpeg/FFmpeg.git
Replace using ff_add_format() repeatedly by a single call to ff_make_format_list(). (Right now this also fixes a memleak: If the first ff_add_format() succeeds and a subsequent call fails, the list leaks.) Reviewed-by: Paul B Mahol <onemda@gmail.com> Reviewed-by: Nicolas George <george@nsup.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@gmail.com>pull/350/head
parent
c4beb0783b
commit
27f35fd121
1 changed files with 6 additions and 6 deletions
Loading…
Reference in new issue