summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-06 01:01:15 +0000
committerMiguel Freitas <miguelfreitas@users.sourceforge.net>2002-12-06 01:01:15 +0000
commit5d6616ced1c5f5abde7c6b0199e6c012058e57bd (patch)
tree19a9a0295b6899ac48cf1f07b12482a842529e3c
parent797ca59c15a79088c6710a2a3cee6d2b2a2796e5 (diff)
downloadxine-lib-5d6616ced1c5f5abde7c6b0199e6c012058e57bd.tar.gz
xine-lib-5d6616ced1c5f5abde7c6b0199e6c012058e57bd.tar.bz2
set fourcc so ffmpeg can detect buggy streams
CVS patchset: 3429 CVS date: 2002/12/06 01:01:15
-rw-r--r--src/demuxers/demux_avi.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/demuxers/demux_avi.c b/src/demuxers/demux_avi.c
index 69b222ae5..809be0430 100644
--- a/src/demuxers/demux_avi.c
+++ b/src/demuxers/demux_avi.c
@@ -17,7 +17,7 @@
* along with this program; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*
- * $Id: demux_avi.c,v 1.134 2002/11/28 10:21:05 petli Exp $
+ * $Id: demux_avi.c,v 1.135 2002/12/06 01:01:15 miguelfreitas Exp $
*
* demultiplexer for avi streams
*
@@ -1219,6 +1219,7 @@ static void demux_avi_send_headers (demux_plugin_t *this_gen) {
buf->size = sizeof (this->avi->bih);
this->avi->video_type = fourcc_to_buf_video(this->avi->bih.biCompression);
+ this->stream->stream_info[XINE_STREAM_INFO_VIDEO_FOURCC] = *(uint32_t *)this->avi->compressor;
if (!this->avi->video_type)
this->avi->video_type = fourcc_to_buf_video(*(uint32_t *)this->avi->compressor);