comparison oggdec.h @ 4634:77a5de3c9116 libavformat

Remove size_t cast in setting s->priv_data directly to the (integer) file descriptor returned by open(). This removes some dubious doublecasts such as priv_data = (void *) (size_t) some_integer, and is always safe on systems we care about because sizeof(int)<=sizeof(void*). See comments from Mans and Michael in "[RFC] rtsp.c EOF support" thread.
author rbultje
date Tue, 03 Mar 2009 13:57:09 +0000
parents dcdf236c9909
children c6abeafbec30
comparison
equal deleted inserted replaced
4633:0c69b895a01f 4634:77a5de3c9116