mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avformat/mov_chan: rename mov_get_channel_label() to better reflect its purpose
This function turns a mov channel label into a lavf native bitmask. Signed-off-by: James Almer <jamrial@gmail.com>
This commit is contained in:
parent
854615adf2
commit
90ef712de5
@ -485,7 +485,7 @@ static uint64_t mov_get_channel_layout(uint32_t tag, uint32_t bitmap)
|
||||
return layout_map[i].layout;
|
||||
}
|
||||
|
||||
static uint32_t mov_get_channel_label(uint32_t label)
|
||||
static uint32_t mov_get_channel_mask(uint32_t label)
|
||||
{
|
||||
if (label == 0)
|
||||
return 0;
|
||||
@ -590,7 +590,7 @@ int ff_mov_read_chan(AVFormatContext *s, AVIOContext *pb, AVStream *st,
|
||||
avio_rl32(pb); // mCoordinates[2]
|
||||
size -= 20;
|
||||
if (layout_tag == 0) {
|
||||
uint32_t mask_incr = mov_get_channel_label(label);
|
||||
uint32_t mask_incr = mov_get_channel_mask(label);
|
||||
if (mask_incr == 0) {
|
||||
label_mask = 0;
|
||||
break;
|
||||
|
Loading…
x
Reference in New Issue
Block a user