[FFmpeg-user] Filter documentation -- PTSs

Phil Rhodes phil_rhodes at rocketmail.com
Mon Feb 15 13:56:31 EET 2021


 

    On Monday, 15 February 2021, 11:39:05 GMT, Chris Angelico <rosuav at gmail.com> wrote:  
> > and then 'frame' would be a pointer to an in-memory structure of that
> > type. When you refer to 'frame->pts', that means 'look at the spot in
> > memory three words in from where frame points, and assign to that'.
>
> Well, that makes perfect sense. Thank you, Chris! You've removed most of the mystery. One thing
> remains: What links the label "frame" to the structure "FrameyThingyWhatsit"? Is there a linker
> directive somewhere, and what would it look like?
I've always felt that pointers were simple in concept but that the c syntax for them can be pretty unhelpful. It's not the end of the world; it works, but by the time you've worked out what all the punctuation means it can become a bit of a brain-teaser.
P  


More information about the ffmpeg-user mailing list