You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lxf: Support 16-channel files
Reported, analyzed and tested by Gabriel Gerard. Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
This commit is contained in:
committed by
Luca Barbato
parent
779951cd2c
commit
839df90c71
@@ -270,7 +270,7 @@ static int lxf_read_header(AVFormatContext *s)
|
||||
if ((video_params >> 22) & 1)
|
||||
av_log(s, AV_LOG_WARNING, "VBI data not yet supported\n");
|
||||
|
||||
if ((lxf->channels = (disk_params >> 2) & 0xF)) {
|
||||
if ((lxf->channels = 1 << (disk_params >> 4 & 3) + 1)) {
|
||||
if (!(st = avformat_new_stream(s, NULL)))
|
||||
return AVERROR(ENOMEM);
|
||||
|
||||
|
Reference in New Issue
Block a user