On Fri, Jul 21, 2017 at 02:21:23PM +0100, Derek Buitenhuis wrote:
> On 7/21/2017 9:30 AM, Clément Bœsch wrote:
> > +    avio_wb16(pb, 1); /* Data-reference index */
> 
> Why is this whole atom hardcoded (i.e. with is '1').
> 

It's basically the same layout for every stsd sample description. Check
the other tags that extend that layout, the also have that data ref idx to
1. I think I copied from the rtp code, but it's the same for the other as
well. This gpmd atom just extends the stsd sample description with a
reserved 32-bit value.

-- 
Clément B.

Attachment: signature.asc
Description: PGP signature

_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to