h264: eliminate decode_postinit()
authorAnton Khirnov <anton@khirnov.net>
Thu, 9 Jun 2016 14:32:12 +0000 (16:32 +0200)
committerAnton Khirnov <anton@khirnov.net>
Fri, 15 Jul 2016 13:33:28 +0000 (15:33 +0200)
commitf450cc7bc595155bacdb9f5d2414a076ccf81b4a
tree23d9b97080c346b2a830179a2fb83fd8cfb300c9
parent8d07e941b04d63fc4443dd986e3dc7b69cdcca43
h264: eliminate decode_postinit()

This function's purpose is not very well defined. Currently it does two
(only marginally related) things: selecting the next output frame and
calling ff_thread_finish_setup() for frame threading. The first of those
more properly belongs under field_start(), while the second can be
called directly from decode_nal_units().
libavcodec/h264_slice.c
libavcodec/h264dec.c
libavcodec/h264dec.h