projects
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7096925
)
Use `vlc_fourcc_GetCodec` to map XVID to MP4V
author
Mangal Kushwah
<mangalk2324@gmail.com>
Sat, 31 Aug 2024 11:15:07 +0000
(16:45 +0530)
committer
Sebastian Ramacher
<sramacher@debian.org>
Tue, 14 Jan 2025 22:09:47 +0000
(23:09 +0100)
Gbp-Pq: Name 0026-Use-vlc_fourcc_GetCodec-to-map-XVID-to-MP4V.patch
modules/demux/avi/avi.c
patch
|
blob
|
history
diff --git
a/modules/demux/avi/avi.c
b/modules/demux/avi/avi.c
index bcc3511e013b67f7d66031d0533f6f3f348ddab5..a3204ea204973eaf06b486316a29edd5d55d9779 100644
(file)
--- a/
modules/demux/avi/avi.c
+++ b/
modules/demux/avi/avi.c
@@
-713,7
+713,7
@@
static int Open( vlc_object_t * p_this )
}
else
{
- tk->fmt.i_codec =
p_bih->biCompression
;
+ tk->fmt.i_codec =
vlc_fourcc_GetCodec(VIDEO_ES, p_bih->biCompression)
;
if( tk->fmt.i_codec == VLC_CODEC_MP4V &&
!strncasecmp( (char*)&p_strh->i_handler, "XVID", 4 ) )
{