From 89b2bf76f80eb05badeb340e2a00a8fbb6e17db3 Mon Sep 17 00:00:00 2001 From: Miguel Freitas Date: Wed, 8 Jan 2003 01:02:27 +0000 Subject: fixes/cleanups of the handled/unhandled codecs for more information see message on xine-devel CVS patchset: 3818 CVS date: 2003/01/08 01:02:27 --- src/demuxers/demux_film.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/demuxers/demux_film.c') diff --git a/src/demuxers/demux_film.c b/src/demuxers/demux_film.c index 5aded9ed0..48f46803d 100644 --- a/src/demuxers/demux_film.c +++ b/src/demuxers/demux_film.c @@ -21,7 +21,7 @@ * For more information on the FILM file format, visit: * http://www.pcisys.net/~melanson/codecs/ * - * $Id: demux_film.c,v 1.50 2003/01/04 16:40:49 tmmm Exp $ + * $Id: demux_film.c,v 1.51 2003/01/08 01:02:28 miguelfreitas Exp $ */ #ifdef HAVE_CONFIG_H @@ -185,6 +185,9 @@ static int open_film_file(demux_film_t *film) { film->video_codec = *(uint32_t *)&film_header[i + 8]; film->video_type = fourcc_to_buf_video(*(uint32_t *)&film_header[i + 8]); + if( !film->video_type ) + film->video_type = BUF_VIDEO_UNKNOWN; + /* fetch the audio information if the chunk size checks out */ if (chunk_size == 32) { film->audio_channels = film_header[21]; -- cgit v1.2.3