Menu

#46 CDCI GetIndexedSampleSize() returns no error and zero size

open
nobody
None
5
2003-08-21
2003-08-21
Harry Plate
No

Accessing the member example:

.../Avid Xpress DV 3.0/my sequence.aaf

I attempt to allocate an appropriate buffer for
ReadSample() to use to read the frame data:

aafErr = pEssenceData->GetIndexedSampleSize( pDataDef,
frameNum, &len) ;

This returns a ZERO length and no error.

Further examination shows that the CDCI codec returns
_fileBytesPerSample - which is ZERO ??

-harry

PS: AAF version? "tip" as of Aug04,2003

Discussion