~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to libavformat/ffmdec.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-02-05 21:45:05 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090205214505-fvn0jkiv3lrkaaq4
Tags: 3:0.svn20090204-2ubuntu1+unstripped1
rebuild using a clean, uncrippled ffmpeg tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 * FFM (ffserver live feed) demuxer
3
 
 * Copyright (c) 2001 Fabrice Bellard.
 
3
 * Copyright (c) 2001 Fabrice Bellard
4
4
 *
5
5
 * This file is part of FFmpeg.
6
6
 *
359
359
    FFMContext *ffm = s->priv_data;
360
360
    int duration;
361
361
 
 
362
    if (url_fsize(s->pb) == FFM_PACKET_SIZE)
 
363
        return -1;
 
364
 
362
365
    switch(ffm->read_state) {
363
366
    case READ_HEADER:
364
367
        if (!ffm_is_avail_data(s, FRAME_HEADER_SIZE+4)) {