OSDN Git Service

avio: Fix the deprecated fallback URL-prefixed open flags
authorMartin Storsjö <martin@martin.st>
Thu, 28 Apr 2011 07:36:44 +0000 (10:36 +0300)
committerMartin Storsjö <martin@martin.st>
Thu, 28 Apr 2011 20:28:17 +0000 (23:28 +0300)
commit5b81e295931bad4dac0af29333b4e2a203b3f4d4
tree68eaf9c4e62150644ffa0dc4b3efe4ce489536c6
parent05a18adfb1e7e94d546112ff8e6f0828c89382a4
avio: Fix the deprecated fallback URL-prefixed open flags

While deprecated, they're totally useless as long as their values
are different from the AVIO_FLAG values that are used internally.
Currently, this leads to old libav applications still compiling
correctly (since we haven't removed the fallback wrappers), but
failing since the functions internally compare to the new AVIO_FLAG
values.

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.

Signed-off-by: Martin Storsjö <martin@martin.st>
libavformat/avio.h