Re: [FFmpeg-devel] [PATCH 2/3] avformat/matroskaenc: Remove pointless casts

2020-05-21 Thread James Almer
On 5/21/2020 10:24 PM, Andreas Rheinhardt wrote: > by using a const void * pointer as an intermediate. > > Signed-off-by: Andreas Rheinhardt > --- > Why is the side-data API (both the packet as well as the stream one) > actually based around uint8_t * and not pointers to void despite > side-data

[FFmpeg-devel] [PATCH 2/3] avformat/matroskaenc: Remove pointless casts

2020-05-21 Thread Andreas Rheinhardt
by using a const void * pointer as an intermediate. Signed-off-by: Andreas Rheinhardt --- Why is the side-data API (both the packet as well as the stream one) actually based around uint8_t * and not pointers to void despite side-data being mostly structures and not just buffers? libavformat/mat