comparison avcodec.h @ 5808:b809aff51f19 libavcodec

Specify in documentation that avcodec_find_(en|de)coder* only searches for registered entries Patch by Ville Skytt¸«£ <ville dot skytta at iki dot fi>
author ramiro
date Thu, 11 Oct 2007 21:09:40 +0000
parents c3f2a6425d2d
children 4beef9d0e663
comparison
equal deleted inserted replaced
5807:34fac02fbc4b 5808:b809aff51f19
2433 void avcodec_init(void); 2433 void avcodec_init(void);
2434 2434
2435 void register_avcodec(AVCodec *format); 2435 void register_avcodec(AVCodec *format);
2436 2436
2437 /** 2437 /**
2438 * Finds an encoder with a matching codec ID. 2438 * Finds a registered encoder with a matching codec ID.
2439 * 2439 *
2440 * @param id CodecID of the requested encoder 2440 * @param id CodecID of the requested encoder
2441 * @return An encoder if one was found, NULL otherwise. 2441 * @return An encoder if one was found, NULL otherwise.
2442 */ 2442 */
2443 AVCodec *avcodec_find_encoder(enum CodecID id); 2443 AVCodec *avcodec_find_encoder(enum CodecID id);
2444 2444
2445 /** 2445 /**
2446 * Finds an encoder with the specified name. 2446 * Finds a registered encoder with the specified name.
2447 * 2447 *
2448 * @param name name of the requested encoder 2448 * @param name name of the requested encoder
2449 * @return An encoder if one was found, NULL otherwise. 2449 * @return An encoder if one was found, NULL otherwise.
2450 */ 2450 */
2451 AVCodec *avcodec_find_encoder_by_name(const char *name); 2451 AVCodec *avcodec_find_encoder_by_name(const char *name);
2452 2452
2453 /** 2453 /**
2454 * Finds a decoder with a matching codec ID. 2454 * Finds a registered decoder with a matching codec ID.
2455 * 2455 *
2456 * @param id CodecID of the requested decoder 2456 * @param id CodecID of the requested decoder
2457 * @return A decoder if one was found, NULL otherwise. 2457 * @return A decoder if one was found, NULL otherwise.
2458 */ 2458 */
2459 AVCodec *avcodec_find_decoder(enum CodecID id); 2459 AVCodec *avcodec_find_decoder(enum CodecID id);
2460 2460
2461 /** 2461 /**
2462 * Finds an decoder with the specified name. 2462 * Finds a registered decoder with the specified name.
2463 * 2463 *
2464 * @param name name of the requested decoder 2464 * @param name name of the requested decoder
2465 * @return A decoder if one was found, NULL otherwise. 2465 * @return A decoder if one was found, NULL otherwise.
2466 */ 2466 */
2467 AVCodec *avcodec_find_decoder_by_name(const char *name); 2467 AVCodec *avcodec_find_decoder_by_name(const char *name);