summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--HISTORY3
-rw-r--r--liboutput/encode.c2
2 files changed, 4 insertions, 1 deletions
diff --git a/HISTORY b/HISTORY
index d88f98c..dee8f83 100644
--- a/HISTORY
+++ b/HISTORY
@@ -1,6 +1,9 @@
VDR Plugin 'image' Revision History
-----------------------------------
+2006-01-11
+- fix wrong register_avcodec (Thanks to Peter Holik)
+
2006-01-08
- Bounce to vdr-1.3.38 (Required)
diff --git a/liboutput/encode.c b/liboutput/encode.c
index d4564f6..1eb2dfd 100644
--- a/liboutput/encode.c
+++ b/liboutput/encode.c
@@ -62,7 +62,7 @@ cEncode::cEncode()
bool cEncode::Register()
{
avcodec_init();
- register_avcodec(&mpeg2video_decoder);
+ register_avcodec(&mpeg2video_encoder);
return true;
}