Commit 1ce32f3c authored by mru's avatar mru

don't try to find file length if streaming


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4283 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 53e02d43
......@@ -450,9 +450,9 @@ ogg_get_length (AVFormatContext * s)
{
ogg_t *ogg = s->priv_data;
int idx = -1, i;
//FIXME: get the right ctx flag to know if is seekable or not
// if(ogg->f->flags & URL_FLAG_STREAMED)
// return 0;
if(s->pb.is_streamed)
return 0;
// already set
if (s->duration != AV_NOPTS_VALUE)
......
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