example: Update decoding/encoding example to the new API.

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2012-01-28 08:28:05 +01:00
parent afe9105f66
commit cb73e35660

View File

@ -453,9 +453,6 @@ int main(int argc, char **argv)
{ {
const char *filename; const char *filename;
/* must be called before using avcodec lib */
avcodec_init();
/* register all the codecs */ /* register all the codecs */
avcodec_register_all(); avcodec_register_all();