mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
factorize
Originally committed as revision 15074 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
2cd71ce52f
commit
021fa42cb1
@ -258,11 +258,11 @@ static int mxf_write_essence_container_refs(AVFormatContext *s, int write)
|
|||||||
|
|
||||||
if (write) {
|
if (write) {
|
||||||
mxf_write_refs_count(pb, c->essence_container_count);
|
mxf_write_refs_count(pb, c->essence_container_count);
|
||||||
for (i = 0; i < c->essence_container_count; i++)
|
|
||||||
put_buffer(pb, ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid, 16);
|
|
||||||
av_log(s,AV_LOG_DEBUG, "essence container count:%d\n", c->essence_container_count);
|
av_log(s,AV_LOG_DEBUG, "essence container count:%d\n", c->essence_container_count);
|
||||||
for (i = 0; i < c->essence_container_count; i++)
|
for (i = 0; i < c->essence_container_count; i++) {
|
||||||
|
put_buffer(pb, ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid, 16);
|
||||||
PRINT_KEY(s, "essence container ul:\n", ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid);
|
PRINT_KEY(s, "essence container ul:\n", ff_mxf_essence_container_uls[c->essence_containers_indices[i]].uid);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
return c->essence_container_count;
|
return c->essence_container_count;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user