Skip to content

Commit

Permalink
reenable test, data is available in this case
Browse files Browse the repository at this point in the history
Originally committed as revision 13412 to svn://svn.ffmpeg.org/ffmpeg/trunk
  • Loading branch information
bcoudurier committed May 26, 2008
1 parent 87b6ea8 commit ba26712
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions libavformat/ffm.c
Expand Up @@ -296,11 +296,8 @@ static int ffm_is_avail_data(AVFormatContext *s, int size)
int len;

len = ffm->packet_end - ffm->packet_ptr;
if (!ffm_nopts) {
/* XXX: I don't understand this test, so I disabled it for testing */
if (size <= len)
return 1;
}
if (size <= len)
return 1;
pos = url_ftell(s->pb);
if (pos == ffm->write_index) {
/* exactly at the end of stream */
Expand Down

0 comments on commit ba26712

Please sign in to comment.