Mercurial > libavformat.hg
comparison tiertexseq.c @ 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 | 49c1d3b27727 |
children | 536e5527c1e0 |
comparison
equal
deleted
inserted
replaced
4633:0c69b895a01f | 4634:77a5de3c9116 |
---|