comparison avcodec.h @ 5137:0134da1737d0 libavcodec

Improve understanding ofavcodec_find_decoder() patch by Carl Eugen Hoyos: ! cehoyos ag or at !
author benoit
date Wed, 13 Jun 2007 08:28:00 +0000
parents 4dbe6578f811
children f3d9859953c1
comparison
equal deleted inserted replaced
5136:7622ba533e05 5137:0134da1737d0
2515 * retrieving a codec. 2515 * retrieving a codec.
2516 * 2516 *
2517 * @warning This function is not thread safe! 2517 * @warning This function is not thread safe!
2518 * 2518 *
2519 * @code 2519 * @code
2520 * avcodec_register_all();
2520 * codec = avcodec_find_decoder(CODEC_ID_H264); 2521 * codec = avcodec_find_decoder(CODEC_ID_H264);
2521 * if (!codec) 2522 * if (!codec)
2522 * exit(1); 2523 * exit(1);
2523 * 2524 *
2524 * context = avcodec_alloc_context(); 2525 * context = avcodec_alloc_context();