mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-08 13:22:53 +02:00
avformat/hevc: Reindent after the previous commit
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
parent
8b5d155301
commit
c421000434
@ -728,18 +728,18 @@ static int hvcc_add_nal_unit(uint8_t *nal_buf, uint32_t nal_size,
|
||||
ret = hvcc_array_add_nal_unit(nal_buf, nal_size, nal_type,
|
||||
ps_array_completeness,
|
||||
&hvcc->arrays[array_idx]);
|
||||
if (ret < 0)
|
||||
goto end;
|
||||
if (ret < 0)
|
||||
goto end;
|
||||
if (hvcc->arrays[array_idx].numNalus == 1)
|
||||
hvcc->numOfArrays++;
|
||||
if (nal_type == HEVC_NAL_VPS)
|
||||
ret = hvcc_parse_vps(&gbc, hvcc);
|
||||
else if (nal_type == HEVC_NAL_SPS)
|
||||
ret = hvcc_parse_sps(&gbc, hvcc);
|
||||
else if (nal_type == HEVC_NAL_PPS)
|
||||
ret = hvcc_parse_pps(&gbc, hvcc);
|
||||
if (ret < 0)
|
||||
goto end;
|
||||
ret = hvcc_parse_vps(&gbc, hvcc);
|
||||
else if (nal_type == HEVC_NAL_SPS)
|
||||
ret = hvcc_parse_sps(&gbc, hvcc);
|
||||
else if (nal_type == HEVC_NAL_PPS)
|
||||
ret = hvcc_parse_pps(&gbc, hvcc);
|
||||
if (ret < 0)
|
||||
goto end;
|
||||
|
||||
end:
|
||||
av_free(rbsp_buf);
|
||||
|
Loading…
Reference in New Issue
Block a user