Playing a 3GP file with video data encoded by h263p

i have finished a module allows playing 3gp files in the asterisk server .
let’s recount how this module works .
firstly , it extract all samples from the 3gp file one by one .
secondly , it splits the samples into several packages in a maximum of 1460 (corresponding with the Eternet MTU ) .that’s what’s important here,
i found out that there is a fixed short (04 00 ) at the begin of each samples and the module need to manually add another short (filled with 00 00 ) at the latter UDP packages in each samples.

sample 1:
1st package 04 00 87 b4 78…
2st package 00 00 c7 99 88…
sample 2:
1st package 04 00 a8 6f …
2st package 00 00 90 98 …

only in this way,the module functions well ,if not ,the clients aren’t able to regcongize the sent packages and play them.i don’t know why must 00 00 be added ,is it the standard of ASTERISK ? please offer me some documents or explaintations if possible ,thanks.