consumer_avformat.c: fix build on older libavformat versions