As I don't have a tc-6.x install to recompile ffmpeg, maybe the best thing to do is copy libcdio from the tc-5.x repo, rename it to libcdio-0.8 and use that as a dep for libavdevice in tc-6.x
Maybe you could test that and verify it works before I make the changes?