diff options
-rw-r--r-- | HISTORY | 1 | ||||
-rw-r--r-- | dxr3ffmpeg.c | 3 |
2 files changed, 3 insertions, 1 deletions
@@ -288,3 +288,4 @@ NOTE: I havent found time to include all of the languages, will be done in pre2 (Luca Olivetti, Kimmo Vuorinen) - rework OSD color management, fixes color "bleeding" (Luca Olivetti) - sync SPU decoder with VDR 1.3.23 (Ville Skyttä) +- register only needed ffmpeg codec(s) (Marco Schluessler) diff --git a/dxr3ffmpeg.c b/dxr3ffmpeg.c index 0a7ddcc..fe51e22 100644 --- a/dxr3ffmpeg.c +++ b/dxr3ffmpeg.c @@ -28,7 +28,8 @@ cDxr3Ffmepg::cDxr3Ffmepg() { avcodec_init(); - avcodec_register_all(); + // Register only codec(s) we'll need. + register_avcodec(&mp2_decoder); } // ================================== |