remove eclipse warning
make loop for decoding correct
changed to decoding h264 and plug leak that was found as a result