summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Brachold <vdr07@deltab.de>2006-01-11 16:29:11 +0000
committerAndreas Brachold <vdr07@deltab.de>2006-01-11 16:29:11 +0000
commite704540374d251d037560673e9373a357959198b (patch)
treea2ed9f982d46e16dd40267d184b70471de8ed1aa
parentcc9136df5686b89eb0e8a1914ce59ab3aabde969 (diff)
downloadvdr-plugin-image-e704540374d251d037560673e9373a357959198b.tar.gz
vdr-plugin-image-e704540374d251d037560673e9373a357959198b.tar.bz2
fix wrong register_avcodec
-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;
}