[FFmpeg-devel] [PATCH 2/2] v4l2: allow to set device controls.

Nicolas George nicolas.george at normalesup.org
Thu Apr 25 17:36:55 CEST 2013

> On Sun, Apr 07, 2013 at 07:57:18PM +0200, Giorgio Vazzana wrote:
> > From a quick look neither did I... we could probably comment it until
> > we find a proper way to deal with it.

I found a macro that was introduced just after this enum value, I suppose it
can serve as test.

L'octidi 18 germinal, an CCXXI, Michael Niedermayer a écrit :
> a better struct could be written and used or AV_R/WNxy() could be
> used
> these assume that the structs layout doesnt change 

There is no need to use the byte access macros: if we can get a pointer to
the field, then it is properly aligned and can be accessed directly.

New patch incoming. Thanks for your help.


  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130425/68734fb6/attachment.asc>

More information about the ffmpeg-devel mailing list