OSDN Git Service

avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols
authorStefano Sabatini <stefano.sabatini-lala@poste.it>
Fri, 15 Apr 2011 14:42:09 +0000 (16:42 +0200)
committerAnton Khirnov <anton@khirnov.net>
Tue, 19 Apr 2011 17:47:58 +0000 (19:47 +0200)
commit59d96941f0285a501989d5f2c9b69be0a1393ed5
tree8a8df3842d20ac6543309dc4063376bf50580944
parent490a022d86ef1c506a79744c5a95368af356fc69
avio: remove AVIO_* access symbols in favor of new AVIO_FLAG_* symbols

Make AVIO_FLAG_ access constants work as flags, and in particular fix
the behavior of functions (such as avio_check()) which expect them to
be flags rather than modes.

This breaks API.
25 files changed:
ffmpeg.c
ffserver.c
libavformat/applehttp.c
libavformat/applehttpproto.c
libavformat/avio.c
libavformat/avio.h
libavformat/aviobuf.c
libavformat/file.c
libavformat/gopher.c
libavformat/http.c
libavformat/img2.c
libavformat/librtmp.c
libavformat/matroskadec.c
libavformat/md5proto.c
libavformat/mmsh.c
libavformat/mmst.c
libavformat/mov.c
libavformat/output-example.c
libavformat/rtmpproto.c
libavformat/rtpproto.c
libavformat/rtsp.c
libavformat/sapdec.c
libavformat/sapenc.c
libavformat/udp.c
libavformat/utils.c