mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-06 15:49:50 +08:00
Fix url_fopen() flag values.
Reported by: Luca Abeni Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user