]> granicus.if.org Git - handbrake/commit
muxavformat: use alternate API to initialize out context
authorJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 15 Jun 2018 21:51:59 +0000 (14:51 -0700)
committerJohn Stebbins <jstebbins.hb@gmail.com>
Fri, 15 Jun 2018 21:51:59 +0000 (14:51 -0700)
commit7d608377b8d0e40a58edcfbfe62232c0c5b31efe
treee10297d2ca1bc7bb614d11820dd679e1f2ce2cd5
parentdc2bba58a7cbfee26b3d9992df062392a82b09c3
muxavformat: use alternate API to initialize out context

avformat_alloc_output_context2 does several things for us that we were
doing in separate steps.  It also allocates AVFormatContext.url for us
so we do not have a case where we alloc something that ffmpeg frees.
libhb/muxavformat.c