summaryrefslogtreecommitdiff
path: root/command/decoder.cpp
diff options
context:
space:
mode:
authorJochen Dolze <vdr@dolze.de>2012-09-23 21:40:07 +0200
committerJochen Dolze <vdr@dolze.de>2012-09-23 21:40:07 +0200
commit6cd413a7a392d82d6a2117a79c65a27ee1a708a0 (patch)
tree5d5691f4d4857972b563c418d48cf4430738c10d /command/decoder.cpp
parent437bfc49bff25b7844b2412dff03e835a0df7c76 (diff)
downloadvdr-plugin-markad-6cd413a7a392d82d6a2117a79c65a27ee1a708a0.tar.gz
vdr-plugin-markad-6cd413a7a392d82d6a2117a79c65a27ee1a708a0.tar.bz2
A few code cleanups
Diffstat (limited to 'command/decoder.cpp')
-rw-r--r--command/decoder.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/command/decoder.cpp b/command/decoder.cpp
index 4b112c8..f9a9627 100644
--- a/command/decoder.cpp
+++ b/command/decoder.cpp
@@ -103,7 +103,7 @@ fail:
cMarkAdDecoder::cMarkAdDecoder(bool useH264, int Threads)
{
-#if LIBAVCODEC_VERSION_INT < ((53<<16)+(7<<8)+1)
+#if LIBAVCODEC_VERSION_INT < ((53<<16)+(7<<8)+1)
avcodec_init();
#endif
avcodec_register_all();
@@ -458,6 +458,7 @@ bool cMarkAdDecoder::DecodeVideo(MarkAdContext *maContext,uchar *pkt, int plen)
{
if (SetVideoInfos(maContext,video_context,video_frame)) ret=true;
}
+ break;
}
}
return ret;