avcodec/libx264: set supported pix_fmts at runtime rather than build time
authorJames Almer <jamrial@gmail.com>
Tue, 26 Dec 2017 22:40:27 +0000 (19:40 -0300)
committerJames Almer <jamrial@gmail.com>
Tue, 26 Dec 2017 22:41:04 +0000 (19:41 -0300)
commit7e60c74329353db28db00552028bc88cd2a52346
tree634047cf4fb6a9fd142bb0e93e2b0ccb0e119e9f
parente6a1dfc9ce81a443b16776a5fbd841284efa3613
avcodec/libx264: set supported pix_fmts at runtime rather than build time

This partially reverts a change in behavior introduced in 2a111c99a60fdf4fe5eea2b073901630190c6c93.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/libx264.c