summaryrefslogtreecommitdiff
path: root/command/decoder.cpp
diff options
context:
space:
mode:
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;