Commit 8a9a5512 authored by bcoudurier's avatar bcoudurier

reenable test, data is available in this case

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@13412 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 5f8d722c
...@@ -296,11 +296,8 @@ static int ffm_is_avail_data(AVFormatContext *s, int size) ...@@ -296,11 +296,8 @@ static int ffm_is_avail_data(AVFormatContext *s, int size)
int len; int len;
len = ffm->packet_end - ffm->packet_ptr; 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) if (size <= len)
return 1; return 1;
}
pos = url_ftell(s->pb); pos = url_ftell(s->pb);
if (pos == ffm->write_index) { if (pos == ffm->write_index) {
/* exactly at the end of stream */ /* exactly at the end of stream */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment