Showing the changes to doc/examples/decoding_encoding.c (1 of 1 file). Show all
Unified · Split
| @@ -453,9 +453,6 @@ int main(int argc, char **argv) · 452 unmodified lines | |||
| 453 | { | 453 | { |
| 454 | const char *filename; | 454 | const char *filename; |
| 455 | 455 | ||
| 456 | /* must be called before using avcodec lib */ | ||
| 457 | avcodec_init(); | ||
| 458 | |||
| 459 | /* register all the codecs */ | 456 | /* register all the codecs */ |
| 460 | avcodec_register_all(); | 457 | avcodec_register_all(); |
| 461 | 458 | ||