Message ID | 1303976472-45280-1-git-send-email-martin@martin.st |
---|---|
State | Committed |
Commit | 5b81e295931bad4dac0af29333b4e2a203b3f4d4 |
Headers | show |
On 4/28/11 9:41 AM, Martin Storsjö wrote: > These should be removed at some point, but they aren't removed yet. > The intent is to be able to recompile an old application against > the new ABI without modifying the code, and this doesn't work > currently. Ok.
On Thu, 28 Apr 2011, Luca Barbato wrote: > On 4/28/11 9:41 AM, Martin Storsjö wrote: > > These should be removed at some point, but they aren't removed yet. > > The intent is to be able to recompile an old application against > > the new ABI without modifying the code, and this doesn't work > > currently. > > Ok. Discussed with Anton on irc, and he was ok with it, too. Pushed. // Martin
diff --git a/libavformat/avio.h b/libavformat/avio.h index a4ab5ae..b98137b 100644 --- a/libavformat/avio.h +++ b/libavformat/avio.h @@ -150,9 +150,9 @@ attribute_deprecated int url_poll(URLPollEntry *poll_table, int n, int timeout); * constants, optionally ORed with other flags. * @{ */ -#define URL_RDONLY 0 /**< read-only */ -#define URL_WRONLY 1 /**< write-only */ -#define URL_RDWR 2 /**< read-write */ +#define URL_RDONLY 1 /**< read-only */ +#define URL_WRONLY 2 /**< write-only */ +#define URL_RDWR (URL_RDONLY|URL_WRONLY) /**< read-write */ /** * @} */