mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/mxfenc: instance number is just 24 bits
Fixes assertion failure Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
5c4fc51d9b
commit
a0fec71ebd
|
@ -1660,7 +1660,7 @@ static void mxf_gen_umid(AVFormatContext *s)
|
|||
AV_WB64(mxf->umid , umid);
|
||||
AV_WB64(mxf->umid+8, umid>>8);
|
||||
|
||||
mxf->instance_number = seed;
|
||||
mxf->instance_number = seed & 0xFFFFFF;
|
||||
}
|
||||
|
||||
static int mxf_write_header(AVFormatContext *s)
|
||||
|
|
Loading…
Reference in New Issue