Revision e4141433 libavformat/tiertexseq.c

View differences:

libavformat/tiertexseq.c
183 183
static int seq_read_header(AVFormatContext *s, AVFormatParameters *ap)
184 184
{
185 185
    int i, rc;
186
    SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data;
186
    SeqDemuxContext *seq = s->priv_data;
187 187
    ByteIOContext *pb = &s->pb;
188 188
    AVStream *st;
189 189

  
......
240 240
static int seq_read_packet(AVFormatContext *s, AVPacket *pkt)
241 241
{
242 242
    int rc;
243
    SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data;
243
    SeqDemuxContext *seq = s->priv_data;
244 244
    ByteIOContext *pb = &s->pb;
245 245

  
246 246
    if (!seq->audio_buffer_full) {
......
294 294
static int seq_read_close(AVFormatContext *s)
295 295
{
296 296
    int i;
297
    SeqDemuxContext *seq = (SeqDemuxContext *)s->priv_data;
297
    SeqDemuxContext *seq = s->priv_data;
298 298

  
299 299
    for (i = 0; i < SEQ_NUM_FRAME_BUFFERS; i++)
300 300
        av_free(seq->frame_buffers[i].data);

Also available in: Unified diff