			err = AddMediaSample(theMedia,				 /* media specifier */ 
								 compressedData,		 /* handle to sample data - dataIn */
								 kNoOffset,				 /* specifies offset into data reffered to by dataIn handle */
								 (**imageDesc).dataSize, /* number of bytes of sample data to be added */ 
								 kSampleDuration,		 /* frame duration = 1/10 sec */
								 (SampleDescriptionHandle)imageDesc,	/* sample description handle */ 
								 kAddOneVideoSample,	/* number of samples */
								 kSyncSample,			/* control flag indicating self-contained samples */
								 nil);					/* returns a time value where sample was insterted */