[vlc-devel] commit: Fixed some avi with jpeg video. (Laurent Aimar )
git version control
git at videolan.org
Thu Dec 11 21:30:10 CET 2008
vlc | branch: master | Laurent Aimar <fenrir at videolan.org> | Wed Dec 10 19:03:08 2008 +0100| [b64c08669b978d3b9cbff8da322f60807918b7b8] | committer: Laurent Aimar
Fixed some avi with jpeg video.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=b64c08669b978d3b9cbff8da322f60807918b7b8
---
modules/demux/avi/avi.c | 1 +
modules/demux/avi/libavi.h | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/demux/avi/avi.c b/modules/demux/avi/avi.c
index ad7443f..5038cf9 100644
--- a/modules/demux/avi/avi.c
+++ b/modules/demux/avi/avi.c
@@ -1989,6 +1989,7 @@ static void AVI_ParseStreamHeader( vlc_fourcc_t i_id,
break;
case AVITWOCC_dc:
case AVITWOCC_db:
+ case AVITWOCC_AC:
SET_PTR( pi_type, VIDEO_ES );
break;
default:
diff --git a/modules/demux/avi/libavi.h b/modules/demux/avi/libavi.h
index 08c2c64..453602c 100644
--- a/modules/demux/avi/libavi.h
+++ b/modules/demux/avi/libavi.h
@@ -295,6 +295,7 @@ void AVI_ChunkFreeRoot( stream_t *, avi_chunk_t *p_chk );
#define AVITWOCC_db VLC_TWOCC('d','b')
#define AVITWOCC_dc VLC_TWOCC('d','c')
#define AVITWOCC_pc VLC_TWOCC('p','c')
+#define AVITWOCC_AC VLC_TWOCC('A','C')
/* *** codex stuff *** */
/* Microsoft RLE video */
More information about the vlc-devel
mailing list