vd_ffmpeg.c: Use FFmpeg-mt compatible code for codec delay
commitce35ed0209a01e43f67f16abcd898cf69df078f2
authorUoti Urpala <uau@glyph.nonexistent.invalid>
Wed, 29 Apr 2009 22:42:59 +0000 (30 01:42 +0300)
committerUoti Urpala <uau@glyph.nonexistent.invalid>
Thu, 30 Apr 2009 00:54:34 +0000 (30 03:54 +0300)
tree0159c2da5c5d860e6dbc2c8bd075ef6f4f1f6cc0
parent017fafac4423fe2d868da7622f5d8d968a1b9fe7
vd_ffmpeg.c: Use FFmpeg-mt compatible code for codec delay

This code to calculate codec delay should work with both with regular
FFmpeg and FFmeg-mt. This MPlayer version is not completely compatible
with current FFmpeg-mt though, since it has a build system change
which matches upstream FFmpeg but hasn't been integrated in FFmpeg-mt
yet (RUNTIME_CPUDETECT -> CONFIG_RUNTIME_CPUDETECT rename).
libmpcodecs/vd_ffmpeg.c