Otherwise they get exposed/accessible in the resulting .so And make check-exports will complain
Moves common code from h264 and h265 to a separate file