aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/segafilm.c
diff options
context:
space:
mode:
authorMike Melanson <mike@multimedia.cx>2008-12-14 03:29:33 +0000
committerMike Melanson <mike@multimedia.cx>2008-12-14 03:29:33 +0000
commit02fb2546e85c8a9aaa1a595439d7b1cfbe2fcb0d (patch)
tree291c85089fe534b6509de335fa66dfeb7dda1cf7 /libavformat/segafilm.c
parent5e6604490abfc03a1209698111a1dace1e970062 (diff)
downloadffmpeg-02fb2546e85c8a9aaa1a595439d7b1cfbe2fcb0d.tar.gz
The POSIX namespace shall be held sacrosanct. To that end,
continue eliminating _t from structure names in FFmpeg. Originally committed as revision 16118 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/segafilm.c')
-rw-r--r--libavformat/segafilm.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 27ff06bc28..1ec8c28685 100644
--- a/libavformat/segafilm.c
+++ b/libavformat/segafilm.c
@@ -40,7 +40,7 @@ typedef struct {
unsigned int sample_size;
int64_t pts;
int keyframe;
-} film_sample_t;
+} film_sample;
typedef struct FilmDemuxContext {
int video_stream_index;
@@ -53,7 +53,7 @@ typedef struct FilmDemuxContext {
enum CodecID video_type;
unsigned int sample_count;
- film_sample_t *sample_table;
+ film_sample *sample_table;
unsigned int current_sample;
unsigned int base_clock;
@@ -163,9 +163,9 @@ static int film_read_header(AVFormatContext *s,
return AVERROR_INVALIDDATA;
film->base_clock = AV_RB32(&scratch[8]);
film->sample_count = AV_RB32(&scratch[12]);
- if(film->sample_count >= UINT_MAX / sizeof(film_sample_t))
+ if(film->sample_count >= UINT_MAX / sizeof(film_sample))
return -1;
- film->sample_table = av_malloc(film->sample_count * sizeof(film_sample_t));
+ film->sample_table = av_malloc(film->sample_count * sizeof(film_sample));
for(i=0; i<s->nb_streams; i++)
av_set_pts_info(s->streams[i], 33, 1, film->base_clock);
@@ -205,7 +205,7 @@ static int film_read_packet(AVFormatContext *s,
{
FilmDemuxContext *film = s->priv_data;
ByteIOContext *pb = s->pb;
- film_sample_t *sample;
+ film_sample *sample;
int ret = 0;
int i;
int left, right;