avcodec/nvenc: move reconfig_encoder call inside of push/pop ctx
authorTimo Rothenpieler <timo@rothenpieler.org>
Thu, 3 May 2018 16:57:40 +0000 (18:57 +0200)
committerTimo Rothenpieler <timo@rothenpieler.org>
Fri, 4 May 2018 21:35:38 +0000 (23:35 +0200)
commitfdbb4b9a7866919e58212d3927ca47528235d847
tree2fae7b8f0dadd938f5a29e147a2c3db3f236b5ce
parent5a88e8c36581fed09c7db6dc7229f1fd9ab5559d
avcodec/nvenc: move reconfig_encoder call inside of push/pop ctx

Also make it void, it must not fail the encode anyway.
libavcodec/nvenc.c