diff options
author | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-14 19:36:38 +0000 |
---|---|---|
committer | Stefano Sabatini <stefano.sabatini-lala@poste.it> | 2008-12-14 19:36:38 +0000 |
commit | 335a761a908bedc7b8b488d04890bcfe36bb812f (patch) | |
tree | e1d8da4ccbca211e4526595e30276a60cc863e21 /libavcodec/utils.c | |
parent | eedfe2227a74da5c5180b6d4ab75a61b79bc74f9 (diff) | |
download | ffmpeg-streaming-335a761a908bedc7b8b488d04890bcfe36bb812f.zip ffmpeg-streaming-335a761a908bedc7b8b488d04890bcfe36bb812f.tar.gz |
Use a more explicit "codec" rather than "format" as the parameter of
register_avcodec().
Originally committed as revision 16130 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 9b16571..755af1a 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -87,13 +87,13 @@ AVCodec *av_codec_next(AVCodec *c){ else return first_avcodec; } -void register_avcodec(AVCodec *format) +void register_avcodec(AVCodec *codec) { AVCodec **p; p = &first_avcodec; while (*p != NULL) p = &(*p)->next; - *p = format; - format->next = NULL; + *p = codec; + codec->next = NULL; } void avcodec_set_dimensions(AVCodecContext *s, int width, int height){ |