libmix: fix the WMV skip frame handling issue

BZ: 22714

we do nothing for skip frame as the framework will
render last frame by natively

Change-Id: I54a0c39b82511ae865e65acb99ed79546fb3c0a7
Signed-off-by: Weian Chen <weian.chen@intel.com>
Reviewed-on: http://android.intel.com:8080/35355
Reviewed-by: Guo, Nana N <nana.n.guo@intel.com>
Reviewed-by: Jiang, Fei <fei.jiang@intel.com>
Reviewed-by: Qiu, Junhai <junhai.qiu@intel.com>
Reviewed-by: Ding, Haitao <haitao.ding@intel.com>
Tested-by: Ding, Haitao <haitao.ding@intel.com>
Reviewed-by: buildbot <buildbot@intel.com>
Tested-by: buildbot <buildbot@intel.com>
diff --git a/videodecoder/VideoDecoderWMV.cpp b/videodecoder/VideoDecoderWMV.cpp
index f3d5fbc..b32edf4 100644
--- a/videodecoder/VideoDecoderWMV.cpp
+++ b/videodecoder/VideoDecoderWMV.cpp
@@ -105,6 +105,11 @@
     }
 
     if (data->pic_data[0].picture_is_skipped == VC1_PTYPE_SKIPPED) {
+
+        // Do nothing for skip frame as the last frame will be rendered agian by natively
+        // No needs to handle reference frame neither
+        return DECODE_SUCCESS;
+#if 0
         //use the last P or I frame surface for skipped frame and treat it as P frame
         if (mLastReference == NULL) {
             // TODO: handle this case
@@ -124,6 +129,7 @@
         // let outputSurfaceBuffer handle "asReference" for VC1
         status = outputSurfaceBuffer();
         return status;
+#endif
     }
 
     status = acquireSurfaceBuffer();