From 6cd413a7a392d82d6a2117a79c65a27ee1a708a0 Mon Sep 17 00:00:00 2001 From: Jochen Dolze Date: Sun, 23 Sep 2012 21:40:07 +0200 Subject: A few code cleanups --- command/decoder.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'command/decoder.cpp') 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; -- cgit v1.2.3