Mercurial > libavformat.hg
comparison Makefile @ 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 | 41542d2edcf4 |
children | 158706fa656f |
comparison
equal
deleted
inserted
replaced
4633:0c69b895a01f | 4634:77a5de3c9116 |
---|