al_identify_video_f(3alleg5)

al_identify_video_f3alleg5

Allegro 5 api

Usage

#include <allegro5/allegro_video.h>
char const *al_identify_video_f(ALLEGRO_FILE *fp)

Overview

Tries to guess the video file type of the open ALLEGRO_FILE by reading the first few bytes. By default Allegro cannot recognize any file types, but calling al_init_video_addon(3alleg5) will add detection of the types it can read.

Returns a pointer to a static string with a file extension for the type, including the leading dot. For example “.ogv”. Returns NULL if the video type cannot be determined.

Since

5.2.8

Releases

2 releases since Debian 12 (Bookworm); the text changed 1 time.

  1. 12
  2. 13

From allegro5-doc 2:5.2.10.1+dfsg-1 in Debian 13 (Trixie). Parsed by carta from the page's man source.