Attempts to fix defects in mythphone

From: Erik Hovland <erik@hovland.org>


---

 mythplugins/mythphone/mythphone/h263.cpp |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/mythplugins/mythphone/mythphone/h263.cpp b/mythplugins/mythphone/mythphone/h263.cpp
index 636b2a4..1c99cf6 100644
--- a/mythplugins/mythphone/mythphone/h263.cpp
+++ b/mythplugins/mythphone/mythphone/h263.cpp
@@ -154,7 +154,8 @@ void H263Container::H263ForceIFrame()
     while (lastCompressedSize != 0)
         lastCompressedSize = avcodec_encode_video(h263EncContext, PostEncodeFrame, MaxPostEncodeSize, NULL);
     avcodec_close(h263EncContext);
-    avcodec_open(h263EncContext, h263Encoder);
+    if (avcodec_open(h263EncContext, h263Encoder) < 0)
+        VERBOSE(VB_IMPORTANT, "Could not open H.263 Encoder");
 }
 
 void H263Container::H263StopEncoder()
