mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-02-17 04:50:24 +00:00
lavf/mxfenc: fix return value to int64_t
This commit is contained in:
parent
1cd3f61ad8
commit
48c6b8a907
1 changed files with 2 additions and 3 deletions
|
|
@ -1613,11 +1613,10 @@ static int mxf_write_ffv1_subdesc(AVFormatContext *s, AVStream *st)
|
|||
|
||||
static int mxf_write_ffv1_desc(AVFormatContext *s, AVStream *st)
|
||||
{
|
||||
int is_rgb, pos;
|
||||
const AVPixFmtDescriptor *desc = av_pix_fmt_desc_get(st->codecpar->format);
|
||||
is_rgb = desc->flags & AV_PIX_FMT_FLAG_RGB;
|
||||
int is_rgb = desc->flags & AV_PIX_FMT_FLAG_RGB;
|
||||
|
||||
pos = mxf_write_cdci_common(s, st, is_rgb ? mxf_rgba_descriptor_key : mxf_cdci_descriptor_key);
|
||||
int64_t pos = mxf_write_cdci_common(s, st, is_rgb ? mxf_rgba_descriptor_key : mxf_cdci_descriptor_key);
|
||||
mxf_update_klv_size(s->pb, pos);
|
||||
return mxf_write_ffv1_subdesc(s, st);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue