Mercurial > libavformat.hg
comparison swfenc.c @ 3973:549a09cf23fe libavformat
Remove offset_t typedef and use int64_t directly instead.
The name offset_t is easily confused with the standard off_t type and
*_t is POSIX reserved namespace if any POSIX header is included.
author | diego |
---|---|
date | Fri, 03 Oct 2008 10:16:29 +0000 |
parents | aa6e8ff72d9e |
children | c3102b189cb6 |
comparison
equal
deleted
inserted
replaced
3972:c7a831579a13 | 3973:549a09cf23fe |
---|---|
42 | 42 |
43 static void put_swf_end_tag(AVFormatContext *s) | 43 static void put_swf_end_tag(AVFormatContext *s) |
44 { | 44 { |
45 SWFContext *swf = s->priv_data; | 45 SWFContext *swf = s->priv_data; |
46 ByteIOContext *pb = s->pb; | 46 ByteIOContext *pb = s->pb; |
47 offset_t pos; | 47 int64_t pos; |
48 int tag_len, tag; | 48 int tag_len, tag; |
49 | 49 |
50 pos = url_ftell(pb); | 50 pos = url_ftell(pb); |
51 tag_len = pos - swf->tag_pos - 2; | 51 tag_len = pos - swf->tag_pos - 2; |
52 tag = swf->tag; | 52 tag = swf->tag; |