Mercurial > mplayer.hg
comparison libmpdemux/demux_lavf.c @ 27219:ef71399cd7e2
1000l, fix demux_lavf compilation
author | reimar |
---|---|
date | Fri, 11 Jul 2008 18:04:36 +0000 |
parents | 932d756585cc |
children | a54c51af6595 |
comparison
equal
deleted
inserted
replaced
27218:932d756585cc | 27219:ef71399cd7e2 |
---|---|
452 else | 452 else |
453 strncpy(mp_filename + 3, "foobar.dummy", sizeof(mp_filename)-3); | 453 strncpy(mp_filename + 3, "foobar.dummy", sizeof(mp_filename)-3); |
454 | 454 |
455 priv->pb = av_alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0, | 455 priv->pb = av_alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0, |
456 demuxer->stream, mp_read, NULL, mp_seek); | 456 demuxer->stream, mp_read, NULL, mp_seek); |
457 priv->pb->is_streamed = !demuxer->stream->end_pos || (s->flags & STREAM_SEEK) != STREAM_SEEK; | 457 priv->pb->is_streamed = !demuxer->stream->end_pos || (demuxer->stream->flags & STREAM_SEEK) != STREAM_SEEK; |
458 | 458 |
459 if(av_open_input_stream(&avfc, priv->pb, mp_filename, priv->avif, &ap)<0){ | 459 if(av_open_input_stream(&avfc, priv->pb, mp_filename, priv->avif, &ap)<0){ |
460 mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF_header: av_open_input_stream() failed\n"); | 460 mp_msg(MSGT_HEADER,MSGL_ERR,"LAVF_header: av_open_input_stream() failed\n"); |
461 return NULL; | 461 return NULL; |
462 } | 462 } |