# HG changeset patch # User reimar # Date 1198348365 0 # Node ID 2ec53ef6bda0908595dae64ca0f92cae571e7a8d # Parent 5d7182903dc399ddbf7e5ec2ccbfeb251ce77a70 100l, fix compilation. Commited old patch that used alloc_put_byte instead of av_alloc_put_byte diff -r 5d7182903dc3 -r 2ec53ef6bda0 libmpdemux/demux_lavf.c --- a/libmpdemux/demux_lavf.c Sat Dec 22 18:12:03 2007 +0000 +++ b/libmpdemux/demux_lavf.c Sat Dec 22 18:32:45 2007 +0000 @@ -447,8 +447,8 @@ 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){