Fix url_fopen() flag values.

Reported by: Luca Abeni
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2011-04-28 13:11:37 +02:00
parent 90bcbc791f
commit 183401b924

View File

@ -374,7 +374,7 @@ void put_nbyte(AVIOContext *s, int b, int count)
int url_fopen(AVIOContext **s, const char *filename, int flags)
{
return avio_open(s, filename, flags);
return avio_open(s, filename, flags+1);
}
int url_fclose(AVIOContext *s)
{