diff options
author | Jochen Dolze <vdr@dolze.de> | 2012-09-23 21:40:07 +0200 |
---|---|---|
committer | Jochen Dolze <vdr@dolze.de> | 2012-09-23 21:40:07 +0200 |
commit | 6cd413a7a392d82d6a2117a79c65a27ee1a708a0 (patch) | |
tree | 5d5691f4d4857972b563c418d48cf4430738c10d /command/decoder.cpp | |
parent | 437bfc49bff25b7844b2412dff03e835a0df7c76 (diff) | |
download | vdr-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.cpp | 3 |
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; |