Revision eb2c2423

View differences:

libavcodec/allcodecs.c
26 26

  
27 27
#include "avcodec.h"
28 28

  
29
#define REGISTER_HWACCEL(X,x) { \
30
          extern AVHWAccel x##_hwaccel; \
31
          if(CONFIG_##X##_HWACCEL) av_register_hwaccel(&x##_hwaccel); }
32

  
29 33
#define REGISTER_ENCODER(X,x) { \
30 34
          extern AVCodec x##_encoder; \
31 35
          if(CONFIG_##X##_ENCODER)  avcodec_register(&x##_encoder); }
......
49 53
        return;
50 54
    initialized = 1;
51 55

  
56
    /* hardware accelerators */
57

  
52 58
    /* video codecs */
53 59
    REGISTER_DECODER (AASC, aasc);
54 60
    REGISTER_DECODER (AMV, amv);

Also available in: Unified diff