[FFmpeg-devel] [PATCH 7/7] avio: avio_ prefix for url_fgetc

Ronald S. Bultje rsbultje
Sun Mar 6 19:30:51 CET 2011


Hi,

On Sun, Mar 6, 2011 at 12:04 PM, Anton Khirnov <anton at khirnov.net> wrote:
> diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
[..]
> @@ -229,15 +229,15 @@ ogg_read_page (AVFormatContext * s, int *str)
> ? ? ? ? return -1;
> ? ? }
>
> - ? ?if (url_fgetc (bc) != 0) ? ? ?/* version */
> + ? ?if (avio_getc(bc) != 0) ? ? ?/* version */
> ? ? ? ? return -1;
>
> - ? ?flags = url_fgetc (bc);
> + ? ?flags = avio_getc(bc);
> ? ? gp = avio_rl64 (bc);
> ? ? serial = avio_rl32 (bc);
> ? ? seq = avio_rl32 (bc);
> ? ? crc = avio_rl32 (bc);
> - ? ?nsegs = url_fgetc (bc);
> + ? ?nsegs = avio_getc(bc);
>
> ? ? idx = ogg_find_stream (ogg, serial);
> ? ? if (idx < 0){

Why do these use fgetc()?

Ronald



More information about the ffmpeg-devel mailing list