Commit ba26712b authored by Baptiste Coudurier's avatar Baptiste Coudurier

reenable test, data is available in this case

Originally committed as revision 13412 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 87b6ea84
......@@ -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 */
......
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