forked from FFmpeg/FFmpeg
fix partition index byte count
Originally committed as revision 17424 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
454d53ed9e
commit
7b05a81687
1 changed files with 1 additions and 1 deletions
|
@ -1176,7 +1176,7 @@ static void mxf_write_partition(AVFormatContext *s, int bodysid,
|
||||||
index_byte_count = 85 + 12+(s->nb_streams+1)*6 +
|
index_byte_count = 85 + 12+(s->nb_streams+1)*6 +
|
||||||
12+mxf->edit_units_count*(11+mxf->slice_count*4);
|
12+mxf->edit_units_count*(11+mxf->slice_count*4);
|
||||||
else if (mxf->edit_unit_byte_count && indexsid)
|
else if (mxf->edit_unit_byte_count && indexsid)
|
||||||
index_byte_count = 85;
|
index_byte_count = 80;
|
||||||
|
|
||||||
if (index_byte_count) {
|
if (index_byte_count) {
|
||||||
// add encoded ber length
|
// add encoded ber length
|
||||||
|
|
Loading…
Add table
Reference in a new issue