|
|
|
@@ -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){ |
|
|
|
|