[FFmpeg-devel] [PATCH 04/10] avio: rename ByteIOContext->AVIOContext

Michael Niedermayer michaelni
Sat Feb 19 16:04:19 CET 2011


On Sat, Feb 19, 2011 at 12:42:48PM +0100, Anton Khirnov wrote:
> ---
>  ffserver.c                   |   10 +-
>  libavformat/4xm.c            |    4 +-
>  libavformat/adtsenc.c        |    2 +-
>  libavformat/aiffdec.c        |    6 +-
>  libavformat/aiffenc.c        |    6 +-
>  libavformat/amr.c            |    4 +-
>  libavformat/anm.c            |    4 +-
>  libavformat/apc.c            |    2 +-
>  libavformat/ape.c            |    2 +-
>  libavformat/apetag.c         |    4 +-
>  libavformat/applehttp.c      |    8 +-
>  libavformat/asf.h            |    2 +-
>  libavformat/asfdec.c         |   28 +++---
>  libavformat/asfenc.c         |   26 +++---
>  libavformat/assdec.c         |    2 +-
>  libavformat/au.c             |   10 +-
>  libavformat/avc.c            |    6 +-
>  libavformat/avc.h            |    4 +-
>  libavformat/avformat.h       |   10 +-
>  libavformat/avidec.c         |   16 ++--
>  libavformat/avienc.c         |   16 ++--
>  libavformat/avio.h           |  204 +++++++++++++++++++++--------------------
>  libavformat/aviobuf.c        |  152 ++++++++++++++++----------------
>  libavformat/bethsoftvid.c    |    6 +-
>  libavformat/bfi.c            |    4 +-
>  libavformat/bink.c           |    4 +-
>  libavformat/c93.c            |    4 +-
>  libavformat/cafdec.c         |   12 ++--
>  libavformat/daud.c           |    2 +-
>  libavformat/dsicin.c         |    8 +-
>  libavformat/dxa.c            |    2 +-
>  libavformat/eacdata.c        |    2 +-
>  libavformat/electronicarts.c |   16 ++--
>  libavformat/ffmdec.c         |   10 +-
>  libavformat/ffmenc.c         |    6 +-
>  libavformat/ffmetadec.c      |    2 +-
>  libavformat/ffmetaenc.c      |    4 +-
>  libavformat/filmstripdec.c   |    2 +-
>  libavformat/filmstripenc.c   |    2 +-
>  libavformat/flacenc.c        |    6 +-
>  libavformat/flacenc.h        |    2 +-
>  libavformat/flacenc_header.c |    2 +-
>  libavformat/flic.c           |    4 +-
>  libavformat/flvdec.c         |    6 +-
>  libavformat/flvenc.c         |   14 ++--
>  libavformat/gif.c            |   10 +-
>  libavformat/gxf.c            |   18 ++--
>  libavformat/gxfenc.c         |   52 ++++++------
>  libavformat/id3v2.c          |    8 +-
>  libavformat/idcin.c          |    4 +-
>  libavformat/idroqdec.c       |    4 +-
>  libavformat/iff.c            |    4 +-
>  libavformat/img2.c           |    4 +-
>  libavformat/internal.h       |    8 +-
>  libavformat/ipmovie.c        |    8 +-
>  libavformat/isom.c           |    6 +-
>  libavformat/isom.h           |   12 ++--
>  libavformat/iss.c            |    4 +-
>  libavformat/ivfenc.c         |    4 +-
>  libavformat/libnut.c         |   12 ++--
>  libavformat/lmlm4.c          |    2 +-
>  libavformat/lxfdec.c         |    6 +-
>  libavformat/matroskadec.c    |   22 +++---
>  libavformat/matroskaenc.c    |   56 ++++++------
>  libavformat/mm.c             |    4 +-
>  libavformat/mmf.c            |   12 ++--
>  libavformat/mmst.c           |    2 +-
>  libavformat/mov.c            |   98 ++++++++++----------
>  libavformat/movenc.c         |  136 ++++++++++++++--------------
>  libavformat/movenchint.c     |   10 +-
>  libavformat/mp3enc.c         |    4 +-
>  libavformat/mpc8.c           |    6 +-
>  libavformat/mpeg.c           |    8 +-
>  libavformat/mpegenc.c        |    4 +-
>  libavformat/mpegts.c         |   10 +-
>  libavformat/mpegtsenc.c      |    2 +-
>  libavformat/msnwc_tcp.c      |    4 +-
>  libavformat/mtv.c            |    4 +-
>  libavformat/mvi.c            |    6 +-
>  libavformat/mxfdec.c         |   36 ++++----
>  libavformat/mxfenc.c         |   66 +++++++-------
>  libavformat/nsvdec.c         |    8 +-
>  libavformat/nutdec.c         |   40 ++++----
>  libavformat/nutenc.c         |   36 ++++----
>  libavformat/nuv.c            |    6 +-
>  libavformat/oggdec.c         |    6 +-
>  libavformat/oggenc.c         |    4 +-
>  libavformat/psxstr.c         |    4 +-
>  libavformat/pva.c            |    6 +-
>  libavformat/qcp.c            |    4 +-
>  libavformat/rdt.c            |    4 +-
>  libavformat/riff.c           |   12 ++--
>  libavformat/riff.h           |   12 ++--
>  libavformat/rl2.c            |    4 +-
>  libavformat/rm.h             |   12 ++--
>  libavformat/rmdec.c          |   24 +++---
>  libavformat/rmenc.c          |   14 ++--
>  libavformat/rpl.c            |    8 +-
>  libavformat/rsodec.c         |    2 +-
>  libavformat/rsoenc.c         |    4 +-
>  libavformat/rtpdec.c         |    4 +-
>  libavformat/rtpdec_asf.c     |   10 +-
>  libavformat/rtpdec_latm.c    |    2 +-
>  libavformat/rtpdec_qt.c      |    2 +-
>  libavformat/rtpdec_svq3.c    |    2 +-
>  libavformat/rtpdec_vp8.c     |    2 +-
>  libavformat/rtpdec_xiph.c    |    2 +-
>  libavformat/rtsp.c           |    2 +-
>  libavformat/rtsp.h           |    4 +-
>  libavformat/sapdec.c         |    2 +-
>  libavformat/sauce.c          |    2 +-
>  libavformat/segafilm.c       |    4 +-
>  libavformat/sierravmd.c      |    4 +-
>  libavformat/siff.c           |    6 +-
>  libavformat/smacker.c        |    2 +-
>  libavformat/sol.c            |    2 +-
>  libavformat/soxdec.c         |    2 +-
>  libavformat/soxenc.c         |    6 +-
>  libavformat/spdifdec.c       |    2 +-
>  libavformat/spdifenc.c       |    2 +-
>  libavformat/swfdec.c         |    6 +-
>  libavformat/swfenc.c         |   14 ++--
>  libavformat/thp.c            |    4 +-
>  libavformat/tiertexseq.c     |   10 +-
>  libavformat/tmv.c            |    4 +-
>  libavformat/tty.c            |    2 +-
>  libavformat/txd.c            |    2 +-
>  libavformat/utils.c          |   14 ++--
>  libavformat/vc1test.c        |    4 +-
>  libavformat/vc1testenc.c     |    6 +-
>  libavformat/vocdec.c         |    4 +-
>  libavformat/vocenc.c         |    4 +-
>  libavformat/wav.c            |   16 ++--
>  libavformat/wc3movie.c       |    4 +-
>  libavformat/westwood.c       |    8 +-
>  libavformat/wtv.c            |   36 ++++----
>  libavformat/wv.c             |    4 +-
>  libavformat/xa.c             |    4 +-
>  libavformat/yop.c            |    4 +-
>  libavformat/yuv4mpeg.c       |    4 +-
>  140 files changed, 868 insertions(+), 864 deletions(-)
> 
> diff --git a/ffserver.c b/ffserver.c
> index 7a16b2d..c2563b7 100644
> --- a/ffserver.c
> +++ b/ffserver.c
> @@ -163,7 +163,7 @@ typedef struct HTTPContext {
>  
>      /* RTSP state specific */
>      uint8_t *pb_buffer; /* XXX: use that in all the code */
> -    ByteIOContext *pb;
> +    AVIOContext *pb;
>      int seq; /* RTSP sequence number */

The context has nothing to do with audio & video input/output.
I support ByteIOContext getting a prefix but not to remove the "Byte" part

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I have never wished to cater to the crowd; for what I know they do not
approve, and what they approve I do not know. -- Epicurus
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20110219/cb4efa96/attachment.pgp>



More information about the ffmpeg-devel mailing list