mpeg12: Move finding the best frame rate to common code
authorMark Thompson <sw@jkqxz.net>
Tue, 12 Sep 2017 21:11:56 +0000 (22:11 +0100)
committerMark Thompson <sw@jkqxz.net>
Tue, 12 Sep 2017 21:11:56 +0000 (22:11 +0100)
commitb5859e0b04bdbe12c97cb12ac10a45d51d2d73c9
tree58c56c151bc0e7432e16b4b22408d56dac8c804a
parenta41b69b5eb950c10d8ede472bcc4e88ce4246db9
mpeg12: Move finding the best frame rate to common code

Previously in the mpeg2_metadata filter.  Also adds a test.
libavcodec/Makefile
libavcodec/mpeg12.h
libavcodec/mpeg12framerate.c
libavcodec/mpeg2_metadata_bsf.c
libavcodec/tests/mpeg12framerate.c [new file with mode: 0644]
tests/fate/libavcodec.mak