initial commit
avidmxfinfo: partial fix for start timecode for 29.97hz sources

Removed incorrect conversion using rounded timecode base and edit rate and
instead identify and support 2 most likely cases
mxf reader: fix timecode to offset calc

Affects position_at_playout_timecode and position_at_source_timecode functions
mxf reader: fix calculated Avid drop frame timecode

Separate out functions for converting between timecode and offsets
Use the timecode_to_offset function when adjusting the Avid start
timecode to take into account drop frame
labels: fix non-avid vc-3 ess element key version byte
writeavidmxf: add support for dvcprohd 1080i2997 and 720p5994

The EssenceType DV1080i50 changed to DV1080i and DV720p50 changed
to DV720p
reader: fix frame size for dvcprohd 1080i2997 and 720p5994
reader: enable support for dvcprohd 1080i2997 and 720p5994
reader: set correct subsampled width for 1080i2997
reader: fix display width for dvcprohd 720p
writeavidmxf: use subsampled stored widths for dvcprohd

Avid uses the sub-sampled widths in the StoredWidth property
writeavidmxf: correct audio samples per film frame

Write 2000 samples for 24fps and 2002 for 23.976fps. It previously
defaulted to 1920 samples, resulting in 4% audio loss
use 48 pixel alignment for 10-bit uyvy

Partial revert of c2a93318184
The MXF spec will be amended to specify a 48 pixel alignment,
which is what v210 requires
mxf file: add mxf_file_close_2 with mem free function parameter

Use when the MXFFile structure was not allocated using malloc
change () to (void) in function declarations

Avoids gcc warning when compiling with option -Wstrict-prototypes
check _MSC_VER is defined before comparing value
avid mxf: fix and extend unc 8/10bit labels/keys/ids

The labels were wrongly assumed to be MJPEG in avid_mxf_info
Only differentiating between 1:1 and 1:1 10b in avid_mxf_info
add avid 1080p 1:1p 10b ec label and resolution id
add newline at end of warning in index table parsing code
archive: replace mxfLength/mxfPosition with int64_t