h264: move initialising the explicit pred weight table for MBAFF
authorAnton Khirnov <anton@khirnov.net>
Fri, 15 Apr 2016 12:45:48 +0000 (14:45 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sun, 12 Jun 2016 18:27:52 +0000 (20:27 +0200)
commitb16e9b9ac9db449cae2242767dd3c3fc309357c4
tree592b1ddaf5551ee68412bf0aaaf5b72ee107d656
parentb93c0aed79f7f942e0dec26e53c147f297ce2ff6
h264: move initialising the explicit pred weight table for MBAFF

Currently it's done in the code that initialises the ref list for
MBAFF, which is not a logical place for it. Move it to the function that
parses the pred table from the bitstream, which is analogous to what is
done for the implicit weight table as well.
libavcodec/h264_parse.c
libavcodec/h264_refs.c