mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-04-01 22:49:21 +00:00
cosmetics, reindent, add/remove some empty lines, redundant comment
Originally committed as revision 17205 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
bd3f81f313
commit
8d1a5af700
@ -1103,7 +1103,6 @@ static void mxf_write_index_table_segment(AVFormatContext *s)
|
||||
put_byte(pb, sc->temporal_reordering);
|
||||
if (sc->temporal_reordering)
|
||||
temporal_reordering = 1;
|
||||
// slice number
|
||||
if (i == 0) { // video track
|
||||
put_byte(pb, 0); // slice number
|
||||
put_be32(pb, KAG_SIZE); // system item size including klv fill
|
||||
@ -1207,7 +1206,6 @@ static void mxf_write_partition(AVFormatContext *s, int bodysid,
|
||||
|
||||
// write klv
|
||||
put_buffer(pb, key, 16);
|
||||
|
||||
klv_encode_ber_length(pb, 88 + 16 * mxf->essence_container_count);
|
||||
|
||||
// write partition value
|
||||
@ -1473,6 +1471,7 @@ static int mxf_write_header(AVFormatContext *s)
|
||||
present[sc->index] = 1;
|
||||
} else
|
||||
present[sc->index]++;
|
||||
|
||||
memcpy(sc->track_essence_element_key, mxf_essence_container_uls[sc->index].element_ul, 15);
|
||||
sc->track_essence_element_key[15] = present[sc->index];
|
||||
PRINT_KEY(s, "track essence element key", sc->track_essence_element_key);
|
||||
@ -1806,6 +1805,7 @@ static int mxf_write_footer(AVFormatContext *s)
|
||||
av_freep(&mxf->timecode_track);
|
||||
|
||||
mxf_free(s);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user