avformat/iff: rudimentary support for animations