mirror of
https://github.com/mpv-player/mpv
synced 2025-03-02 12:20:57 +00:00
100l, fix compilation.
Commited old patch that used alloc_put_byte instead of av_alloc_put_byte git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25506 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
a8a8471995
commit
ec029a1034
@ -447,8 +447,8 @@ static demuxer_t* demux_open_lavf(demuxer_t *demuxer){
|
||||
else
|
||||
strncpy(mp_filename + 3, "foobar.dummy", sizeof(mp_filename)-3);
|
||||
|
||||
priv->pb = alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0,
|
||||
demuxer->stream, mp_read, NULL, mp_seek);
|
||||
priv->pb = av_alloc_put_byte(priv->buffer, BIO_BUFFER_SIZE, 0,
|
||||
demuxer->stream, mp_read, NULL, mp_seek);
|
||||
priv->pb->is_streamed = !demuxer->stream->end_pos;
|
||||
|
||||
if(av_open_input_stream(&avfc, priv->pb, mp_filename, priv->avif, &ap)<0){
|
||||
|
Loading…
Reference in New Issue
Block a user