Fix a couple of compiler warnings in avformat unrelated to API.